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

Appearance settings

Commit 1e317cc

Browse filesBrowse files
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 HttpKernel
2 parents 129a271 + deae8b3 commit 1e317cc
Copy full SHA for 1e317cc

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/HttpKernel/composer.json

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"require": {
1919
"php": ">=7.1.3",
20-
"symfony/error-handler": "^4.4",
20+
"symfony/error-handler": "^4.4|^5.0",
2121
"symfony/event-dispatcher": "^4.4",
2222
"symfony/http-client-contracts": "^1.1|^2",
2323
"symfony/http-foundation": "^4.4.30|^5.3.7",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.