Skip to content

[Console] Mark AsCommand attribute as @final #60103

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

Merged
merged 1 commit into from
Apr 1, 2025
Merged

Conversation

Somrlik
Copy link
Contributor

@Somrlik Somrlik commented Apr 1, 2025

Q A
Branch? 7.3
Bug fix? yes
New feature? no
Deprecations? yes
License MIT

AsCommand attribute doesn't work as expected when extended and probably should be declared as final.

In order to not break BC and trigger a deprecation warning, I marked the attribute as @final as per suggestions in previous PR.

Superseeds #60066 as I closed it accidentally, sorry for confusion 😕

Copy link
Member

@derrabus derrabus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻 …once Oskar's comment has been addressed.

@GromNaN
Copy link
Member

GromNaN commented Apr 1, 2025

Thank you @Somrlik.

@GromNaN GromNaN merged commit 1a8b82e into symfony:7.3 Apr 1, 2025
4 checks passed
@fabpot fabpot mentioned this pull request May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants