improve upgrade instructions for twig.exception_controller configuration

This commit is contained in:
Ben Davies 2019-11-22 16:50:01 +00:00
parent bfae515d52
commit bdc68fd894
1 changed files with 11 additions and 1 deletions

View File

@ -269,7 +269,17 @@ TwigBridge
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:
```yaml