From bab6e5b37f631bc5afeba532985f5bf81f9cccc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Andr=C3=A9?= Date: Sun, 22 Dec 2024 05:56:19 +0100 Subject: [PATCH] [TwigComponent] Minimal support of comment lines Twig introduced the inline comments in https://github.com/twigphp/Twig/pull/4349 This PR add minimal support for it the PreLexer / HTML syntax ```twig ``` I'd like some IRL feedbacks on this one :) --- src/TwigComponent/tests/Unit/TwigPreLexerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TwigComponent/tests/Unit/TwigPreLexerTest.php b/src/TwigComponent/tests/Unit/TwigPreLexerTest.php index 4e105acd7c..2878fb3bc7 100644 --- a/src/TwigComponent/tests/Unit/TwigPreLexerTest.php +++ b/src/TwigComponent/tests/Unit/TwigPreLexerTest.php @@ -392,9 +392,9 @@ public static function getLexTests(): iterable yield 'component_with_comment_lines_between_args' => [ << TWIG,