Doctrine DBAL dev version

Asked

Viewed 37 times

1

See only the dev version is paid :? I’m talking because you’re making a mistake again:

"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 No specified License, it is Recommended to do so. For closed-source software you may use "Proprietary" as License. Completed.

In the validation. My Composer.json looks like this:

"require": {
    "doctrine/dbal": "2.5.*@dev",
    "doctrine/orm": "2.5.*@dev",
    "doctrine/common": "2.5.*@dev"
}

2 answers

1

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

  {
        "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]"
            }
        ]
    }

0

By error message, failed to fill in the Description field which is a small text about your software. It is mandatory if the package is redistributed. And in addition to this error there is a notice about the software license. If you own it, you use the "Property".

  • blz. @Rafael Mena Barreto

Browser other questions tagged

You are not signed in. Login or sign up in order to post.