Skip to content

Commit 478395a

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Use mb_convert_encoding instead of utf8_decode [FrameworkBundle] Always add CacheCollectorPass Fix "Notice: Undefined index: headers" in messenger with Oracle [String] Fix ansi escape sequences regex Indicate support for doctrine/persistence 3 [Routing] fix router base url when default uri has trailing slash Replace deprecated String.prototype.substr()
2 parents ef8e5d0 + a632817 commit 478395a

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
@@ -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);
161162

162163
if ($container->getParameter('kernel.debug')) {
163164
$container->addCompilerPass(new AddDebugLogProcessorPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 2);
164165
$container->addCompilerPass(new UnusedTagsPass(), PassConfig::TYPE_AFTER_REMOVING);
165166
$container->addCompilerPass(new ContainerBuilderDebugDumpPass(), PassConfig::TYPE_BEFORE_REMOVING, -255);
166-
$container->addCompilerPass(new CacheCollectorPass(), PassConfig::TYPE_BEFORE_REMOVING);
167167
}
168168
}
169169

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"require-dev": {
3636
"doctrine/annotations": "^1.13.1",
37-
"doctrine/persistence": "^1.3|^2.0",
37+
"doctrine/persistence": "^1.3|^2|^3",
3838
"symfony/asset": "^5.4|^6.0",
3939
"symfony/browser-kit": "^5.4|^6.0",
4040
"symfony/console": "^5.4|^6.0",

0 commit comments

Comments
 (0)