Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[TwigBundle] Deprecating "false" in favor of "kernel.debug" as default value of "strict_variable" #25780
Nope, really it's
twig: # ... strict_variables: '%kernel.debug%'
So yeah, it definitely looks like it should be the default value, wdyt?
referenced this pull request
Jan 13, 2018
Standard Edition has always explicitly defined it, see 2.7 @ https://github.com/symfony/symfony-standard/blob/2.7/app/config/config.yml#L36. So given that all "supported" standard editions and the Flex recipe default it correctly we're only "BC breaking" people that explicitly removed it to fall back to a value that was documented to be identical to the default. Even if somebody actually did that (why?!?) they were expecting it to do this as documented (
Imho that's a very hard case to call a "BC break".