File tree Expand file tree Collapse file tree 5 files changed +7
-9
lines changed Expand file tree Collapse file tree 5 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 3333 },
3434 "require-dev" : {
3535 "doctrine/collections" : " ^1.6.8|^2.0" ,
36- "doctrine/doctrine-bundle" : " ^2.5.0 " ,
36+ "doctrine/doctrine-bundle" : " ^2.14 " ,
3737 "doctrine/orm" : " ^2.9.4|^3.0" ,
3838 "fakerphp/faker" : " ^1.22" ,
3939 "mtdowling/jmespath.php" : " ^2.6" ,
Original file line number Diff line number Diff line change @@ -133,9 +133,8 @@ protected function configureContainer(ContainerConfigurator $c): void
133133 ];
134134 }
135135 if (null !== $ doctrineBundleVersion = InstalledVersions::getVersion ('doctrine/doctrine-bundle ' )) {
136- if (version_compare ($ doctrineBundleVersion , '2.8.0 ' , '>= ' )) {
137- $ doctrineConfig ['orm ' ]['enable_lazy_ghost_objects ' ] = true ;
138- }
136+ $ doctrineConfig ['orm ' ]['enable_lazy_ghost_objects ' ] = true ;
137+
139138 if (\PHP_VERSION_ID >= 80400 && version_compare ($ doctrineBundleVersion , '2.15.0 ' , '>= ' )) {
140139 $ doctrineConfig ['orm ' ]['enable_native_lazy_objects ' ] = true ;
141140 }
Original file line number Diff line number Diff line change 3737 "require-dev" : {
3838 "doctrine/annotations" : " ^1.0" ,
3939 "doctrine/collections" : " ^1.6.8|^2.0" ,
40- "doctrine/doctrine-bundle" : " ^2.4.3 " ,
40+ "doctrine/doctrine-bundle" : " ^2.14 " ,
4141 "doctrine/orm" : " ^2.9.4" ,
4242 "doctrine/persistence" : " ^2.5.2|^3.0" ,
4343 "phpdocumentor/reflection-docblock" : " 5.x-dev" ,
Original file line number Diff line number Diff line change @@ -172,9 +172,8 @@ protected function configureContainer(ContainerConfigurator $c): void
172172 ];
173173
174174 if (null !== $ doctrineBundleVersion = InstalledVersions::getVersion ('doctrine/doctrine-bundle ' )) {
175- if (version_compare ($ doctrineBundleVersion , '2.8.0 ' , '>= ' )) {
176- $ doctrineConfig ['orm ' ]['enable_lazy_ghost_objects ' ] = true ;
177- }
175+ $ doctrineConfig ['orm ' ]['enable_lazy_ghost_objects ' ] = true ;
176+
178177 // https://github.com/doctrine/DoctrineBundle/pull/1661
179178 if (version_compare ($ doctrineBundleVersion , '2.9.0 ' , '>= ' )) {
180179 $ doctrineConfig ['orm ' ]['report_fields_where_declared ' ] = true ;
Original file line number Diff line number Diff line change 3838 "symfony/stimulus-bundle" : " ^2.9.1"
3939 },
4040 "require-dev" : {
41- "doctrine/doctrine-bundle" : " ^2.4.3 " ,
41+ "doctrine/doctrine-bundle" : " ^2.14 " ,
4242 "doctrine/orm" : " ^2.8 | 3.0" ,
4343 "phpstan/phpstan" : " ^2.1.17" ,
4444 "symfony/asset-mapper" : " ^6.4|^7.0|^8.0" ,
You can’t perform that action at this time.
0 commit comments