Upgrade recipes: symfony/twig-bundle

This commit is contained in:
Julien Fastré 2023-09-06 12:35:40 +02:00
parent 59625879a8
commit f6216567f7
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
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: twig:
default_path: '%kernel.project_dir%/templates' 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 !! ## In Symfony 5, bootstrap_5 theme is supported. But not yet in sf4 !!
# see sf5 https://symfony.com/doc/current/form/form_themes.html # 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: ['@ChillMain/Form/bootstrap5/bootstrap_5_horizontal_layout.html.twig']
#form_themes: ['bootstrap_5_horizontal_layout.html.twig'] #form_themes: ['bootstrap_5_horizontal_layout.html.twig']
when@test:
twig:
strict_variables: true

View File

@ -741,15 +741,14 @@
"version": "v4.4.11" "version": "v4.4.11"
}, },
"symfony/twig-bundle": { "symfony/twig-bundle": {
"version": "4.4", "version": "5.4",
"recipe": { "recipe": {
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "master", "branch": "main",
"version": "4.4", "version": "5.4",
"ref": "15a41bbd66a1323d09824a189b485c126bbefa51" "ref": "bb2178c57eee79e6be0b297aa96fc0c0def81387"
}, },
"files": [ "files": [
"config/packages/test/twig.yaml",
"config/packages/twig.yaml", "config/packages/twig.yaml",
"templates/base.html.twig" "templates/base.html.twig"
] ]