minor #34519 improve upgrade instructions for twig.exception_controller 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?a8a9e69488/src/Symfony/Bundle/TwigBundle/DependencyInjection/Configuration.php (L41)
Commits -------bdc68fd894
improve upgrade instructions for twig.exception_controller configuration
This commit is contained in:
commit
60aea22193
|
@ -274,7 +274,17 @@ TwigBridge
|
||||||
TwigBundle
|
TwigBundle
|
||||||
----------
|
----------
|
||||||
|
|
||||||
* Deprecated `twig.exception_controller` configuration option, set it to "null" and use `framework.error_controller` instead:
|
* Deprecated `twig.exception_controller` configuration option.
|
||||||
|
|
||||||
|
If you were not using this option previously, set it to `null`:
|
||||||
|
|
||||||
|
After:
|
||||||
|
```yaml
|
||||||
|
twig:
|
||||||
|
exception_controller: null
|
||||||
|
```
|
||||||
|
|
||||||
|
If you were using this option previously, set it to `null` and use `framework.error_controller` instead:
|
||||||
|
|
||||||
Before:
|
Before:
|
||||||
```yaml
|
```yaml
|
||||||
|
|
Reference in New Issue