We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0b2ade commit e1145a7Copy full SHA for e1145a7
src/Symfony/Bundle/TwigBundle/TwigBundle.php
@@ -32,7 +32,8 @@ public function build(ContainerBuilder $container)
32
{
33
parent::build($container);
34
35
- $container->addCompilerPass(new ExtensionPass());
+ // ExtensionPass must be run before the FragmentRendererPass as it adds tags that are processed later
36
+ $container->addCompilerPass(new ExtensionPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 10);
37
$container->addCompilerPass(new TwigEnvironmentPass());
38
$container->addCompilerPass(new TwigLoaderPass());
39
$container->addCompilerPass(new ExceptionListenerPass());
0 commit comments