From 1c1d60670cd2555b82cb62e10cd78b45f2951fcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Sun, 8 Sep 2024 12:53:57 -0300 Subject: [PATCH] Fix deprecation introduced by Twig 3.12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Related to https://github.com/phpmyadmin/twig-i18n-extension/pull/14 Signed-off-by: MaurĂ­cio Meneghini Fauth --- src/Node/TransNode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Node/TransNode.php b/src/Node/TransNode.php index 2782631..f691153 100644 --- a/src/Node/TransNode.php +++ b/src/Node/TransNode.php @@ -102,7 +102,7 @@ public function __construct( } /** @phpstan-ignore-next-line */ - if (Environment::VERSION_ID >= 301200) { + if (Environment::VERSION_ID >= 31300 || Environment::VERSION_ID >= 301200) { parent::__construct($nodes, [], $lineno); return;