File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Integration/MartinGeorgiev
Unit/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,9 @@ protected function setUp(): void
7777 $ configuration ->setProxyDir (self ::FIXTURES_DIRECTORY .'/Proxies ' );
7878 $ configuration ->setProxyNamespace (self ::FIXTURE_NAMESPACE .'\Proxy ' );
7979 $ configuration ->setAutoGenerateProxyClasses (true );
80+ if (\PHP_VERSION_ID >= 80400 ) {
81+ $ configuration ->enableNativeLazyObjects (true );
82+ }
8083 $ this ->setConfigurationCache ($ configuration );
8184
8285 // Register the entity namespace for DQL short aliases
Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ protected function setUp(): void
2828 $ configuration ->setProxyDir (static ::FIXTURES_DIRECTORY .'/Proxies ' );
2929 $ configuration ->setProxyNamespace ('Fixtures\MartinGeorgiev\Doctrine\Entity\Proxy ' );
3030 $ configuration ->setAutoGenerateProxyClasses (true );
31+ if (\PHP_VERSION_ID >= 80400 ) {
32+ $ configuration ->enableNativeLazyObjects (true );
33+ }
3134 $ this ->setConfigurationCache ($ configuration );
3235
3336 $ this ->configuration = $ configuration ;
You can’t perform that action at this time.
0 commit comments