Skip to content

Commit 5eb8043

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 8b6f56e3805ab3231ffebfbe9648643a364af725, reversing changes made to fd1c94ba5676b9943e02a457166651a072b0018f. This change appears to be breaking for some, let's rediscuss it on 6.2. Commits ------- 36d6516d81 Revert "bug #46125 [FrameworkBundle] Always add CacheCollectorPass (fancyweb)"
2 parents e54bb32 + 11f91af commit 5eb8043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)