From da12738b941cd1ea2223b7ad8fddc6402ab2e2f6 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sun, 8 Jan 2023 19:24:37 +0100 Subject: [PATCH] feat(update): apply recipes:update symfony/twig-bundle --- config/packages/test/twig.yaml | 2 -- config/packages/twig.yaml | 4 ++++ symfony.lock | 9 ++++----- 3 files changed, 8 insertions(+), 7 deletions(-) delete mode 100644 config/packages/test/twig.yaml 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" ]