Skip to content

Deprecated Command Attributes #122

@Ruesa18

Description

@Ruesa18

bin/console whatwedo:crud:setup generated the following output (among other stuff. The command worked fine, just warnings):

Since symfony/console 6.1: Relying on the static property "$defaultName" for setting a command name is deprecated. Add the "Symfony\Component\Console\Attribute\AsCommand" attribute to the "whatwedo\CrudBundle\Command\SetupCommand" class instead.
Since symfony/console 6.1: Relying on the static property "$defaultDescription" for setting a command description is deprecated. Add the "Symfony\Component\Console\Attribute\AsCommand" attribute to the "whatwedo\CrudBundle\Command\SetupCommand" class instead.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions