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 35
35
"twig/twig" : " ^3.10.3"
36
36
},
37
37
"require-dev" : {
38
- "doctrine/annotations" : " ^1.0" ,
38
+ "doctrine/annotations" : " ^1.0|^2.0 " ,
39
39
"doctrine/collections" : " ^1.6.8|^2.0" ,
40
40
"doctrine/doctrine-bundle" : " ^2.4.3" ,
41
- "doctrine/orm" : " ^2.9.4" ,
41
+ "doctrine/orm" : " ^2.9.4|^3.0 " ,
42
42
"doctrine/persistence" : " ^2.5.2|^3.0" ,
43
43
"phpdocumentor/reflection-docblock" : " 5.x-dev" ,
44
44
"symfony/dependency-injection" : " ^5.4|^6.0|^7.0|^8.0" ,
Original file line number Diff line number Diff line change 39
39
},
40
40
"require-dev" : {
41
41
"doctrine/doctrine-bundle" : " ^2.4.3" ,
42
- "doctrine/orm" : " ^2.8 | 3.0" ,
42
+ "doctrine/orm" : " ^2.8|^ 3.0" ,
43
43
"phpstan/phpstan" : " ^2.1.17" ,
44
44
"symfony/asset-mapper" : " ^6.4|^7.0|^8.0" ,
45
45
"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
106
106
if (version_compare ($ doctrineBundleVersion , '2.9.0 ' , '>= ' )) {
107
107
$ doctrineConfig ['orm ' ]['report_fields_where_declared ' ] = true ;
108
108
}
109
+
110
+ if (\PHP_VERSION_ID >= 80400 && version_compare ($ doctrineBundleVersion , '2.15.0 ' , '>= ' )) {
111
+ $ doctrineConfig ['orm ' ]['enable_native_lazy_objects ' ] = true ;
112
+ }
109
113
}
110
114
111
115
$ container
You can’t perform that action at this time.
0 commit comments