Skip to content

Commit 1f5f330

Browse files
committed
iterate
1 parent bd0b1d8 commit 1f5f330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Autocomplete/tests/Fixtures/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function process(ContainerBuilder $container): void
8282
{
8383
$container->removeDefinition('doctrine.orm.listeners.pdo_session_handler_schema_listener');
8484

85-
if (\PHP_VERSION_ID >= 80400) {
85+
if (\PHP_VERSION_ID >= 80400 && $container->hasParameter('doctrine.orm.proxy_dir')) {
8686
// Workaround for `RuntimeException: Unable to create the Doctrine Proxy directory "". in vendor/symfony/doctrine-bridge/CacheWarmer/ProxyCacheWarmer.php:49`
8787
// when running PHP 8.4 and Doctrine ORM 3.5+.
8888
$container->getDefinition('doctrine.orm.default_configuration')

0 commit comments

Comments
 (0)