8000 bug #46442 [FrameworkBundle] Revert "bug #46125 Always add CacheColl… · symfony/symfony@dd36b7c · GitHub
[go: up one dir, main page]

Skip to content

Commit dd36b7c

Browse files
committed
bug #46442 [FrameworkBundle] Revert "bug #46125 Always add CacheCollectorPass (fancyweb)" (chalasr)
This PR was merged into the 4.4 branch. Discussion ---------- [FrameworkBundle] Revert "bug #46125 Always add CacheCollectorPass (fancyweb)" | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | #46416 | License | MIT | Doc PR | - This reverts commit 8b6f56e, reversing changes made to fd1c94b. This change appears to be breaking for some, let's rediscuss it on 6.2. Commits ------- 36d6516 Revert "bug #46125 [FrameworkBundle] Always add CacheCollectorPass (fancyweb)"
2 parents f6fecb5 + 36d6516 commit dd36b7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/FrameworkBundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,12 @@ public function build(ContainerBuilder $container)
157157
$container->addCompilerPass(new RegisterReverseContainerPass(true));
158158
$container->addCompilerPass(new RegisterReverseContainerPass(false), PassConfig::TYPE_AFTER_REMOVING);
159159
$container->addCompilerPass(new SessionPass());
160-
$container->addCompilerPass(new CacheCollectorPass(), PassConfig::TYPE_BEFORE_REMOVING);
161160

162161
if ($container->getParameter('kernel.debug')) {
163162
$container->addCompilerPass(new AddDebugLogProcessorPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 2);
164163
$container->addCompilerPass(new UnusedTagsPass(), PassConfig::TYPE_AFTER_REMOVING);
165164
$container->addCompilerPass(new ContainerBuilderDebugDumpPass(), PassConfig::TYPE_BEFORE_REMOVING, -255);
165+
$container->addCompilerPass(new CacheCollectorPass(), PassConfig::TYPE_BEFORE_REMOVING);
166166
}
167167
}
168168

0 commit comments

Comments
 (0)
0