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 33
33
},
34
34
"require-dev" : {
35
35
"doctrine/collections" : " ^1.6.8|^2.0" ,
36
- "doctrine/doctrine-bundle" : " ^2.5.0 " ,
36
+ "doctrine/doctrine-bundle" : " ^2.14 " ,
37
37
"doctrine/orm" : " ^2.9.4|^3.0" ,
38
38
"fakerphp/faker" : " ^1.22" ,
39
39
"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
133
133
];
134
134
}
135
135
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
+
139
138
if (\PHP_VERSION_ID >= 80400 && version_compare ($ doctrineBundleVersion , '2.15.0 ' , '>= ' )) {
140
139
$ doctrineConfig ['orm ' ]['enable_native_lazy_objects ' ] = true ;
141
140
}
Original file line number Diff line number Diff line change 37
37
"require-dev" : {
38
38
"doctrine/annotations" : " ^1.0" ,
39
39
"doctrine/collections" : " ^1.6.8|^2.0" ,
40
- "doctrine/doctrine-bundle" : " ^2.4.3 " ,
40
+ "doctrine/doctrine-bundle" : " ^2.14 " ,
41
41
"doctrine/orm" : " ^2.9.4" ,
42
42
"doctrine/persistence" : " ^2.5.2|^3.0" ,
43
43
"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
172
172
];
173
173
174
174
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
+
178
177
// https://github.com/doctrine/DoctrineBundle/pull/1661
179
178
if (version_compare ($ doctrineBundleVersion , '2.9.0 ' , '>= ' )) {
180
179
$ doctrineConfig ['orm ' ]['report_fields_where_declared ' ] = true ;
Original file line number Diff line number Diff line change 38
38
"symfony/stimulus-bundle" : " ^2.9.1"
39
39
},
40
40
"require-dev" : {
41
- "doctrine/doctrine-bundle" : " ^2.4.3 " ,
41
+ "doctrine/doctrine-bundle" : " ^2.14 " ,
42
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" ,
You can’t perform that action at this time.
0 commit comments