Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[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

Conversation

@Simperfit
Copy link
Contributor

QA
Branch?4.4
Bug fix?no
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed ticketsnone
LicenseMIT
Doc PRnone

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)

/**
* Returns the current controller.
*
* @final since Symfony 4.4

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
Copy link
ContributorAuthor

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
Copy link
Member

Oh, I understand. Then the changelog/upgrade should mention the child (non-deprecated) classes.

HttpKernel
----------
* The method`FilterControllerArgumentsEvent::getArguments()` marked final.

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
Copy link
Member

oh wait sorry I forgot about#30323 which will allow this everywhere!

@SimperfitSimperfit deleted the made-final-to-prepare-the-cleaning-in-http-kernel branchMay 29, 2019 18:27
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@Simperfit@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp