Upgrade recipes: symfony/twig-bundle

This commit is contained in:
2023-09-06 12:35:40 +02:00
parent 59625879a8
commit f6216567f7
3 changed files with 8 additions and 10 deletions

View File

@@ -1,2 +0,0 @@
twig:
strict_variables: true

View File

@@ -1,8 +1,5 @@
twig:
default_path: '%kernel.project_dir%/templates'
debug: '%kernel.debug%'
strict_variables: '%kernel.debug%'
exception_controller: null
## In Symfony 5, bootstrap_5 theme is supported. But not yet in sf4 !!
# see sf5 https://symfony.com/doc/current/form/form_themes.html
@@ -15,3 +12,7 @@ twig:
#
form_themes: ['@ChillMain/Form/bootstrap5/bootstrap_5_horizontal_layout.html.twig']
#form_themes: ['bootstrap_5_horizontal_layout.html.twig']
when@test:
twig:
strict_variables: true