diff --git a/src/Twig/Node/ExampleNode.php b/src/Twig/Node/ExampleNode.php index 8919ce3..465eb08 100644 --- a/src/Twig/Node/ExampleNode.php +++ b/src/Twig/Node/ExampleNode.php @@ -48,6 +48,7 @@ public function compile(Compiler $compiler): void $compiler->write('$' . $attributeStorageName . ' = [];' . PHP_EOL); } + // @TODO: drop version check when removing twig < 3.9 support if (version_compare(Environment::VERSION, '3.9.0', '>=')) { // twig >= 3.9 $compiler diff --git a/src/Twig/Node/ExpandNode.php b/src/Twig/Node/ExpandNode.php index 1b07587..9d54b25 100644 --- a/src/Twig/Node/ExpandNode.php +++ b/src/Twig/Node/ExpandNode.php @@ -48,6 +48,7 @@ public function compile(Compiler $compiler) $compiler->write('$' . $attributeStorageName . ' = [];' . PHP_EOL); } + // @TODO: drop version check when removing twig < 3.9 support if (version_compare(Environment::VERSION, '3.9.0', '>=')) { // twig >= 3.9 $compiler diff --git a/src/Twig/Node/FrameNode.php b/src/Twig/Node/FrameNode.php index f644ace..00592c6 100644 --- a/src/Twig/Node/FrameNode.php +++ b/src/Twig/Node/FrameNode.php @@ -48,6 +48,7 @@ public function compile(Compiler $compiler): void $compiler->write('$' . $attributeStorageName . ' = [];' . PHP_EOL); } + // @TODO: drop version check when removing twig < 3.9 support if (version_compare(Environment::VERSION, '3.9.0', '>=')) { // twig >= 3.9 $compiler