8000 minor #22694 [TwigBundle] Remove ClassExistenceResource usage (ogizan… · symfony/symfony@8d27128 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8d27128

Browse files
committed
minor #22694 [TwigBundle] Remove ClassExistenceResource usage (ogizanagi)
This PR was merged into the 3.3-dev branch. Discussion ---------- [TwigBundle] Remove ClassExistenceResource usage | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes/no | Fixed tickets | N/A | License | MIT | Doc PR | N/A Usage of this class were removed in #21466 Commits ------- 85f6710 [TwigBundle] Remove ClassExistenceResource usage
2 parents 1ccc3de + 85f6710 commit 8d27128

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Symfony/Bundle/TwigBundle/DependencyInjection/Compiler/ExtensionPass.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ public function process(ContainerBuilder $container)
107107
$container->getDefinition('twig.extension.expression')->addTag('twig.extension');
108108
}
109109

110-
$container->addResource(new ClassExistenceResource(Workflow::class));
111110
if (!class_exists(Workflow::class) || !$container->has('workflow.registry')) {
112111
$container->removeDefinition('workflow.twig_extension');
113112
} else {

0 commit comments

Comments
 (0)
0