Skip to content

Commit f58f67c

Browse files
committed
Merge branch '4.4' into 5.4
* 4.4: Use mb_convert_encoding instead of utf8_decode [FrameworkBundle] Always add CacheCollectorPass Fix "Notice: Undefined index: headers" in messenger with Oracle Indicate support for doctrine/persistence 3 Replace deprecated String.prototype.substr()
2 parents a9bce2c + 3c583ae commit f58f67c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

FrameworkBundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,12 @@ public function build(ContainerBuilder $container)
160160
$container->addCompilerPass(new RegisterReverseContainerPass(false), PassConfig::TYPE_AFTER_REMOVING);
161161
$container->addCompilerPass(new RemoveUnusedSessionMarshallingHandlerPass());
162162
$container->addCompilerPass(new SessionPass());
163+
$container->addCompilerPass(new CacheCollectorPass(), PassConfig::TYPE_BEFORE_REMOVING);
163164

164165
if ($container->getParameter('kernel.debug')) {
165166
$container->addCompilerPass(new AddDebugLogProcessorPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 2);
166167
$container->addCompilerPass(new UnusedTagsPass(), PassConfig::TYPE_AFTER_REMOVING);
167168
$container->addCompilerPass(new ContainerBuilderDebugDumpPass(), PassConfig::TYPE_BEFORE_REMOVING, -255);
168-
$container->addCompilerPass(new CacheCollectorPass(), PassConfig::TYPE_BEFORE_REMOVING);
169169
}
170170
}
171171

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"require-dev": {
3737
"doctrine/annotations": "^1.13.1",
3838
"doctrine/cache": "^1.11|^2.0",
39-
"doctrine/persistence": "^1.3|^2.0",
39+
"doctrine/persistence": "^1.3|^2|^3",
4040
"symfony/asset": "^5.3|^6.0",
4141
"symfony/browser-kit": "^5.4|^6.0",
4242
"symfony/console": "^5.4|^6.0",

0 commit comments

Comments
 (0)