WIP: Upgrade skeleton to symfony 5 #18

Draft
julienfastre wants to merge 47 commits from upgrade-sf5 into main
3 changed files with 8 additions and 10 deletions
Showing only changes of commit f6216567f7 - Show all commits

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"
] ]