8000 Shouldn't CommandPropertyToAttributeRector be in the SYMFONY_61 set ? · Issue #292 · rectorphp/rector-symfony · GitHub
[go: up one dir, main page]

Skip to content

Shouldn't CommandPropertyToAttributeRector be in the SYMFONY_61 set ? #292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
VincentLanglet opened this issue Nov 25, 2022 · 1 comment
Closed

Comments

@VincentLanglet
Copy link
Contributor

Symfony is throwing the following deprecation:

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 %s class instead.

Doesn't it means we should create a Symfony61 set with this rule inside ?

@VincentLanglet
Copy link
Contributor Author

Seems like it exists, #266
I'm just not up to date...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0