From 97a64c6e2ffbea0bb7c1058cd99422eb708550ea Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Fri, 18 Sep 2026 20:47:46 +0200 Subject: [PATCH] [Composer] Added conflict with twig/twig 3.29+ incompatible with Symfony 5.4 twig/twig 3.29.0 changed Twig\TemplateWrapper::unwrap() to require a Twig\Environment argument. symfony/twig-bundle 5.4.45 calls it without one, so cache warm-up fatals on every 4.6 instance. Symfony capped twig to <3.29.0 on their 5.4 branch on 2026-09-14, but has not released it - the latest 5.4 release is v5.4.53 from 2026-05-27. This mirrors that cap until a 5.4 release carrying it ships. 4.6 only: 6.4 and 7.4 avoid the call via Twig\BlockChain, so this hunk must be dropped on merge-up to 5.0. Co-Authored-By: Claude Opus 5 --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 201a821125..507abc88c4 100644 --- a/composer.json +++ b/composer.json @@ -86,7 +86,8 @@ "doctrine/dbal": "2.7.0", "doctrine/orm": "2.20.7", "ezsystems/ezpublish-legacy": "*", - "phpunit/phpunit": "8.4.0" + "phpunit/phpunit": "8.4.0", + "twig/twig": ">=3.29" }, "replace": { "ezsystems/ezplatform-kernel": "*"