Commit 1e317cc
committed
bug #46327 [HttpKernel] Allow ErrorHandler ^5.0 to be used in HttpKernel 4.4 (mpdude)
This PR was merged into the 4.4 branch.
Discussion
----------
[HttpKernel] Allow ErrorHandler ^5.0 to be used in HttpKernel 4.4
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Tickets |
| License | MIT
| Doc PR |
I wonder what prevents us from allowing HttpKernel ^4.4 to be used with ErrorHandler ^5.0?
ErrorHandler 5.4 (IIRC) adds the incredibly helpful feature ❤️🔥 to emit deprecation notices for missing return type hints. This is valuable when trying to migrate larger codebases to make use of type hints.
Symfony 4.4 is the current LTS, and this PR would allow people to switch to ErrorHandler 5.4 while the rest of the code can still use Symfony 4.4 components.
Commits
-------
deae8b3 Allow ErrorHandler ^5.0 to be used in HttpKernel1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments