Skip to content

Commit 0f279f0

Browse files
committed
feat: allow doctrine/doctrine-bundle 3
1 parent 0f300bd commit 0f279f0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/Functional/GeocoderListenerTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ public function process(ContainerBuilder $container): void
7979
}
8080
if (method_exists(Configuration::class, 'setLazyGhostObjectEnabled')
8181
&& Kernel::VERSION_ID >= 60100
82-
&& version_compare($doctrineBundleVersion, '2.8.0', '>=')) {
82+
&& version_compare($doctrineBundleVersion, '2.8.0', '>=')
83+
&& version_compare($ormVersion, '3.0', '<=')
84+
) {
8385
$orm['enable_lazy_ghost_objects'] = true;
8486
}
8587
if (\PHP_VERSION_ID >= 80400

0 commit comments

Comments
 (0)