Skip to content

Commit c93b036

Browse files
Merge branch '6.4' into 7.0
* 6.4: [OptionsResolver] Improve invalid type message on nested option cs fix Update KernelTestCase.php [DoctrineBridge] Silence ORM deprecation add missing default-doctrine-dbal-provider cache pool attribute to XSD
2 parents 30726e9 + e2820a9 commit c93b036

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/DoctrineTestHelper.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ public static function createTestConfiguration(): Configuration
6060
$config->setMetadataDriverImpl(new AttributeDriver([__DIR__.'/../Tests/Fixtures' => 'Symfony\Bridge\Doctrine\Tests\Fixtures'], true));
6161
$config->setSchemaManagerFactory(new DefaultSchemaManagerFactory());
6262

63+
if (method_exists(Configuration::class, 'setLazyGhostObjectEnabled')) {
64+
$config->setLazyGhostObjectEnabled(true);
65+
}
66+
6367
return $config;
6468
}
6569

0 commit comments

Comments
 (0)