File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 3535 "twig/twig" : " ^3.10.3"
3636 },
3737 "require-dev" : {
38- "doctrine/annotations" : " ^1.0" ,
38+ "doctrine/annotations" : " ^1.0|^2.0 " ,
3939 "doctrine/collections" : " ^1.6.8|^2.0" ,
4040 "doctrine/doctrine-bundle" : " ^2.4.3" ,
41- "doctrine/orm" : " ^2.9.4" ,
41+ "doctrine/orm" : " ^2.9.4|^3.0 " ,
4242 "doctrine/persistence" : " ^2.5.2|^3.0" ,
4343 "phpdocumentor/reflection-docblock" : " 5.x-dev" ,
4444 "symfony/dependency-injection" : " ^5.4|^6.0|^7.0|^8.0" ,
Original file line number Diff line number Diff line change 3939 },
4040 "require-dev" : {
4141 "doctrine/doctrine-bundle" : " ^2.4.3" ,
42- "doctrine/orm" : " ^2.8 | 3.0" ,
42+ "doctrine/orm" : " ^2.8|^ 3.0" ,
4343 "phpstan/phpstan" : " ^2.1.17" ,
4444 "symfony/asset-mapper" : " ^6.4|^7.0|^8.0" ,
4545 "symfony/debug-bundle" : " ^5.4|^6.0|^7.0|^8.0" ,
Original file line number Diff line number Diff line change @@ -106,6 +106,10 @@ protected function configureContainer(ContainerConfigurator $container): void
106106 if (version_compare ($ doctrineBundleVersion , '2.9.0 ' , '>= ' )) {
107107 $ doctrineConfig ['orm ' ]['report_fields_where_declared ' ] = true ;
108108 }
109+
110+ if (\PHP_VERSION_ID >= 80400 && version_compare ($ doctrineBundleVersion , '2.15.0 ' , '>= ' )) {
111+ $ doctrineConfig ['orm ' ]['enable_native_lazy_objects ' ] = true ;
112+ }
109113 }
110114
111115 $ container
You can’t perform that action at this time.
0 commit comments