-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
improve upgrade instructions for twig.exception_controller configuration #34519
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
improve upgrade instructions for twig.exception_controller configuration #34519
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.
But this should be merged in 4.4 instead of master.
👍 fixed |
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.
Or would it be better to make the default null on 4.4?
This is already the case for new 4.4 projects (thanks to the flex recipe). For upgraded projects we have the deprecation warning, otherwise we would break the non-HTML error responses.
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.
what about UPGRADE-5.0.md
?
we need to tell ppl can remove the file actually
as discussed, it's already there 👍 |
Thank you @bendavies. |
…er configuration (bendavies) This PR was merged into the 4.4 branch. Discussion ---------- improve upgrade instructions for twig.exception_controller configuration | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | This improves the upgrade instructions for the deprecated configuration of `twig.exception_controller`. Or would it be better to make the default `null` on 4.4? https://github.com/symfony/symfony/blob/a8a9e69488fdaf609fecacba66e056ffb8f25da8/src/Symfony/Bundle/TwigBundle/DependencyInjection/Configuration.php#L41 Commits ------- bdc68fd improve upgrade instructions for twig.exception_controller configuration
This improves the upgrade instructions for the deprecated configuration of
twig.exception_controller
.Or would it be better to make the default
null
on 4.4?symfony/src/Symfony/Bundle/TwigBundle/DependencyInjection/Configuration.php
Line 41 in a8a9e69