[wip] upgrade configuration to chill v3 (symfony 5)

This commit is contained in:
2024-07-03 11:14:05 +02:00
parent 002fd7b632
commit bf29c7756f
20 changed files with 137 additions and 199 deletions

View File

@@ -1,18 +1,5 @@
twig:
default_path: '%kernel.project_dir%/templates'
## 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 sf4 https://symfony.com/doc/4.4/form/form_themes.html
#
# While waiting for the upgrade, we get the form theme file
# (https://github.com/symfony/symfony/tree/5.4/src/Symfony/Bridge/Twig/Resources/views/Form),
# put it in ChillMainBundle/Resources/views/Form/bootstrap5/
# and adapt it lightly.
#
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