Skip to content

Commit 6b58568

Browse files
bug #60859 [TwigBundle] fix preload unlinked class BinaryOperatorExpressionParser (Grummfy)
This PR was merged into the 6.4 branch. Discussion ---------- [TwigBundle] fix preload unlinked class `BinaryOperatorExpressionParser` | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix twigphp/Twig#4647 | License | MIT It fix the issue listed, it probably required to port on other supported version of symfony note : feel free to adapt the PR if required Commits ------- 06fa6c1 fix: twigphp/Twig/issues/4647
2 parents 2cac9bc + 06fa6c1 commit 6b58568

File tree

1 file changed

+2
-0
lines changed
  • src/Symfony/Bundle/TwigBundle/Resources/config

1 file changed

+2
-0
lines changed

src/Symfony/Bundle/TwigBundle/Resources/config/twig.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
use Twig\Extension\OptimizerExtension;
4545
use Twig\Extension\StagingExtension;
4646
use Twig\ExtensionSet;
47+
use Twig\ExpressionParser\Infix\BinaryOperatorExpressionParser;
4748
use Twig\Loader\ChainLoader;
4849
use Twig\Loader\FilesystemLoader;
4950
use Twig\Profiler\Profile;
@@ -63,6 +64,7 @@
6364
->tag('container.preload', ['class' => EscaperExtension::class])
6465
->tag('container.preload', ['class' => OptimizerExtension::class])
6566
->tag('container.preload', ['class' => StagingExtension::class])
67+
->tag('container.preload', ['class' => BinaryOperatorExpressionParser::class])
6668
->tag('container.preload', ['class' => ExtensionSet::class])
6769
->tag('container.preload', ['class' => Template::class])
6870
->tag('container.preload', ['class' => TemplateWrapper::class])

0 commit comments

Comments
 (0)