Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Deprecated Command Attributes #122

Open
Ruesa18 opened this issue Dec 13, 2022 · 0 comments
Open

Deprecated Command Attributes #122

Ruesa18 opened this issue Dec 13, 2022 · 0 comments

Comments

@Ruesa18
Copy link
Contributor

Ruesa18 commented Dec 13, 2022

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant