8000 improve upgrade instructions for twig.exception_controller configuration · symfony/symfony@bdc68fd · GitHub
[go: up one dir, main page]

Skip to content

Commit bdc68fd

Browse files
committed
improve upgrade instructions for twig.exception_controller configuration
1 parent bfae515 commit bdc68fd

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

UPGRADE-4.4.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,17 @@ TwigBridge
269269
TwigBundle
270270
----------
271271

272-
* Deprecated `twig.exception_controller` configuration option, set it to "null" and use `framework.error_controller` instead:
272+
* Deprecated `twig.exception_controller` configuration option.
273+
274+
If you were not using this option previously, set it to `null`:
275+
276+
After:
277+
```yaml
278+
twig:
279+
exception_controller: null
280+
```
281+
282+
If you were using this option previously, set it to `null` and use `framework.error_controller` instead:
273283

274284
Before:
275285
```yaml

0 commit comments

Comments
 (0)
0