-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[HttpKernel] Support typehint to deprecated FlattenException in controller #34662
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
Conversation
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.
Isn't the current ExceptionListener
intended to preserve that compatibility?
Could you please elaborate a bit more on the actual use case?
src/Symfony/Component/HttpKernel/EventListener/ErrorListener.php
Outdated
Show resolved
Hide resolved
My use case: |
84163e5
to
26b4e37
Compare
Thank you @andrew-demb. |
…on in controller (andrew-demb) This PR was squashed before being merged into the 4.4 branch. Discussion ---------- [HttpKernel] Support typehint to deprecated FlattenException in controller | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #34661 | License | MIT | Doc PR | We should support converting throwable to `FlattenException` with typehint to deprecated class also Commits ------- 26b4e37 [HttpKernel] Support typehint to deprecated FlattenException in controller
We should support converting throwable to
FlattenException
with typehint to deprecated class also