From 38882177384c1000dcb57bd4a4be96d0ee7ab023 Mon Sep 17 00:00:00 2001 From: Yonel Ceruto Date: Fri, 12 Jan 2018 22:28:23 -0500 Subject: [PATCH] Fix default value of strict_variables --- reference/configuration/twig.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/configuration/twig.rst b/reference/configuration/twig.rst index 97785b2c0bd..b540752bb25 100644 --- a/reference/configuration/twig.rst +++ b/reference/configuration/twig.rst @@ -439,7 +439,7 @@ by Symfony. Besides, it simplifies how you refer to those templates: strict_variables ~~~~~~~~~~~~~~~~ -**type**: ``boolean`` **default**: ``'%kernel.debug%'`` +**type**: ``boolean`` **default**: ``false`` If set to ``true``, Symfony shows an exception whenever a Twig variable, attribute or method doesn't exist. If set to ``false`` these errors are ignored