Skip to content

Conversation

@Simperfit
Copy link
Contributor

Q A
Branch? 4.4
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets none
License MIT
Doc PR none

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

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
Contributor Author

Simperfit commented May 29, 2019 via email

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

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!

@Simperfit Simperfit deleted the made-final-to-prepare-the-cleaning-in-http-kernel branch May 29, 2019 18:27
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.

3 participants