Skip to content

Commit 48aff85

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: [DoctrineBridge] Don't reinit managers when they are proxied as ghost objects Revert "bug #46125 [FrameworkBundle] Always add CacheCollectorPass (fancyweb)"
2 parents ac5f8de + 9fac94a commit 48aff85

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
@@ -163,12 +163,12 @@ public function build(ContainerBuilder $container)
163163
$container->addCompilerPass(new RegisterReverseContainerPass(true));
164164
$container->addCompilerPass(new RegisterReverseContainerPass(false), PassConfig::TYPE_AFTER_REMOVING);
165165
$container->addCompilerPass(new RemoveUnusedSessionMarshallingHandlerPass());
166-
$container->addCompilerPass(new CacheCollectorPass(), PassConfig::TYPE_BEFORE_REMOVING);
167166

168167
if ($container->getParameter('kernel.debug')) {
169168
$container->addCompilerPass(new AddDebugLogProcessorPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 2);
170169
$container->addCompilerPass(new UnusedTagsPass(), PassConfig::TYPE_AFTER_REMOVING);
171170
$container->addCompilerPass(new ContainerBuilderDebugDumpPass(), PassConfig::TYPE_BEFORE_REMOVING, -255);
171+
$container->addCompilerPass(new CacheCollectorPass(), PassConfig::TYPE_BEFORE_REMOVING);
172172
}
173173
}
174174

0 commit comments

Comments
 (0)