diff --git a/config/packages/test/twig.yaml b/config/packages/test/twig.yaml deleted file mode 100644 index 8c6e0b4..0000000 --- a/config/packages/test/twig.yaml +++ /dev/null @@ -1,2 +0,0 @@ -twig: - strict_variables: true diff --git a/config/packages/twig.yaml b/config/packages/twig.yaml index d516d0f..b91df37 100644 --- a/config/packages/twig.yaml +++ b/config/packages/twig.yaml @@ -4,3 +4,7 @@ twig: paths: '%kernel.project_dir%/templates/core/': Core '%kernel.project_dir%/vendor/murph/murph-core/src/core/Resources/views/': Core + +when@test: + twig: + strict_variables: true diff --git a/symfony.lock b/symfony.lock index 25d1c53..0b0b352 100644 --- a/symfony.lock +++ b/symfony.lock @@ -601,15 +601,14 @@ "version": "v5.2.5" }, "symfony/twig-bundle": { - "version": "5.0", + "version": "5.4", "recipe": { "repo": "github.com/symfony/recipes", - "branch": "master", - "version": "5.0", - "ref": "fab9149bbaa4d5eca054ed93f9e1b66cc500895d" + "branch": "main", + "version": "5.4", + "ref": "bb2178c57eee79e6be0b297aa96fc0c0def81387" }, "files": [ - "config/packages/test/twig.yaml", "config/packages/twig.yaml", "templates/base.html.twig" ]