Skip to content

Commit 9fac94a

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

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
@@ -158,12 +158,12 @@ public function build(ContainerBuilder $container)
158158
$container->addCompilerPass(new RegisterReverseContainerPass(true));
159159
$container->addCompilerPass(new RegisterReverseContainerPass(false), PassConfig::TYPE_AFTER_REMOVING);
160160
$container->addCompilerPass(new RemoveUnusedSessionMarshallingHandlerPass());
161-
$container->addCompilerPass(new CacheCollectorPass(), PassConfig::TYPE_BEFORE_REMOVING);
162161

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

0 commit comments

Comments
 (0)