Skip to content
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

[9.x] Handle Symfony defaultName deprecation #41555

Merged
merged 4 commits into from
Mar 18, 2022

Conversation

driesvints
Copy link
Member

This PR adds handling for Symfony's deprecated $defaultName property on console commands in the upcoming Symfony 6.1 release. To mitigate deprecation notices we'll need to implement the new AsCommand attribute that ships with Symfony v6.

See the related Symfony PR: symfony/symfony#45361
And issue: symfony/symfony#43600

Merging this into master will fix our failing tests there. After this is merged on master, I'll take the additional step to remove all $defaultName properties.

We'll also need to do this for all first party libraries that make use of the $defaultName property. Additionally, all apps and packages that make use of the $defaultName property will need to migrate to this new syntax.

@driesvints driesvints marked this pull request as ready for review March 18, 2022 10:01
@taylorotwell taylorotwell merged commit d2fb4a7 into 9.x Mar 18, 2022
@taylorotwell taylorotwell deleted the handle-console-deprecations branch March 18, 2022 13:48
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

Successfully merging this pull request may close these issues.

None yet

5 participants