Doctrine DBAL version dev

1

See only the dev version is paid:? I'm talking because it's causing me an error:

  

"C: \ bin \ composer.bat" "--ansi" "--no-interaction" "validate"   ./composer.json is invalid, the following errors / warnings were found:   description: NULL value found, but a string is required   In the specified license, it is recommended to do so. For closed-source software you may use "proprietary" as license.   Done.

On validation. My composer.json looks like this:

"require": {
    "doctrine/dbal": "2.5.*@dev",
    "doctrine/orm": "2.5.*@dev",
    "doctrine/common": "2.5.*@dev"
}
    
asked by anonymous 05.09.2014 / 15:25

2 answers

1

Rafael is correct, to complement I will leave an example of a composer.json with the dependence of Doctrine Dbal

  {
        "name": "empresa/projeto",
        "description": "Descrição do seu projeto",
        "require": {
            "doctrine/dbal": "2.5.*@dev"
        },
        "license": "licença",
        "authors": [
            {
                "name": "Nome do autor",
                "email": "[email protected]"
            }
        ]
    }
    
05.09.2014 / 21:37
0

From the error message, you have to fill in the description field which is a short text about your software. It is required if the package is redistributed. And besides this error there is a notice about the license of the software. If you are owner it is to use the "proprietary" option.

    
05.09.2014 / 16:14