Skip to content

Commit 449aa59

Browse files
committed
minor #1639 Fix DoctrineBundle v3.1 deprecations (rosier)
This PR was merged into the main branch. Discussion ---------- Fix DoctrineBundle v3.1 deprecations Fixes the deprecations: - The "enable_native_lazy_objects" option is deprecated and will be removed in DoctrineBundle 4.0, as native lazy objects are now always enabled. - The "doctrine.orm.controller_resolver.auto_mapping" option is deprecated and will be removed in DoctrineBundle 4.0, as it only accepts `false` since 3.0. Commits ------- 3f2a255 Fix DoctrineBundle deprecations
2 parents e8af36c + 3f2a255 commit 449aa59

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

config/packages/doctrine.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ doctrine:
99
profiling_collect_backtrace: '%kernel.debug%'
1010

1111
orm:
12-
enable_native_lazy_objects: true
1312
validate_xml_mapping: true
1413
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
1514
identity_generation_preferences:
@@ -24,9 +23,6 @@ doctrine:
2423
prefix: 'App\Entity'
2524
alias: App
2625

27-
controller_resolver:
28-
auto_mapping: false
29-
3026
when@test:
3127
doctrine:
3228
dbal:

0 commit comments

Comments
 (0)