From bdc68fd89401b7465880e570bb0492b29ace04e8 Mon Sep 17 00:00:00 2001 From: Ben Davies Date: Fri, 22 Nov 2019 16:50:01 +0000 Subject: [PATCH] improve upgrade instructions for twig.exception_controller configuration --- UPGRADE-4.4.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/UPGRADE-4.4.md b/UPGRADE-4.4.md index 1d1863e4f8..d09d39cad8 100644 --- a/UPGRADE-4.4.md +++ b/UPGRADE-4.4.md @@ -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