Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1cc68d0

Browse files
committed
minor#9050 [TwigBundle] Fix default value of strict_variables (yceruto)
This PR was merged into the 2.7 branch.Discussion----------[TwigBundle] Fix default value of strict_variablesSeehttps://github.com/symfony/symfony/blob/d78a98d793c2846d6decbff652d63f981e4f32f4/src/Symfony/Bundle/TwigBundle/DependencyInjection/Configuration.php#L177However, I'm proposing revert it since 4.1 and fix it inside the configuration section, see#9049Commits-------3888217 Fix default value of strict_variables
2 parents638063f +3888217 commit1cc68d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎reference/configuration/twig.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ by Symfony. Besides, it simplifies how you refer to those templates:
439439
strict_variables
440440
~~~~~~~~~~~~~~~~
441441

442-
**type**: ``boolean`` **default**: ``'%kernel.debug%'``
442+
**type**: ``boolean`` **default**: ``false``
443443

444444
If set to ``true``, Symfony shows an exception whenever a Twig variable,
445445
attribute or method doesn't exist. If set to ``false`` these errors are ignored

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp