Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[HttpKernel] The methods of the deprecated event should be final#31701
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[HttpKernel] The methods of the deprecated event should be final#31701
Uh oh!
There was an error while loading.Please reload this page.
Conversation
| /** | ||
| * Returns the current controller. | ||
| * | ||
| * @final since Symfony 4.4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
sorry if that wasn't clear, but this is needed only for NON deprecated classes.
Simperfit commentedMay 29, 2019 via email
They extends these, so Do i copy past them now ?Le mer. 29 mai 2019 à 19:40, Nicolas Grekas <notifications@github.com> aécrit : … ***@***.**** commented on this pull request. ------------------------------ In src/Symfony/Component/HttpKernel/Event/FilterControllerEvent.php <#31701 (comment)>: > @@ -31,6 +31,8 @@ public function __construct(HttpKernelInterface $kernel, callable $controller, R /** * Returns the current controller. * + *@Final since Symfony 4.4 sorry if that wasn't clear, but this is needed only for NON deprecated classes. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#31701?email_source=notifications&email_token=AA2KV4UD7VKR6VYWIV7QCF3PX252NA5CNFSM4HQO6DW2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB2BDSPY#pullrequestreview-243415359>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA2KV4RU2DD6YIDIFNSKFK3PX252NANCNFSM4HQO6DWQ> . |
nicolas-grekas commentedMay 29, 2019
Oh, I understand. Then the changelog/upgrade should mention the child (non-deprecated) classes. |
| HttpKernel | ||
| ---------- | ||
| * The method`FilterControllerArgumentsEvent::getArguments()` marked final. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
missing verb: has been
nicolas-grekas commentedMay 29, 2019
oh wait sorry I forgot about#30323 which will allow this everywhere! |
This PRs allows to change the return types in 5.0 of the differents methods of the deprecated events class.
As said in#31672 (comment)