File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ UPGRADE FROM 3 to 4
44Configuration
55-------------
66
7+ The ` doctrine.orm.controller_resolver.auto_mapping ` only accepted ` false `
8+ as value since 3.0 and is now removed.
9+
710The ` doctrine.orm.entity_managers.some_em.enable_native_lazy_objects `
811configuration option has been removed as native lazy objects are now always
912enabled.
Original file line number Diff line number Diff line change @@ -406,19 +406,6 @@ private function addOrmSection(ArrayNodeDefinition $node): void
406406 ->arrayNode ('controller_resolver ' )
407407 ->canBeDisabled ()
408408 ->children ()
409- ->booleanNode ('auto_mapping ' )
410- ->defaultFalse ()
411- ->validate ()
412- ->ifTrue (static fn ($ v ) => $ v !== false )
413- ->thenInvalid ('The setting "controller_resolver.auto_mapping" can no longer be enabled and must be set to false ' )
414- ->end ()
415- ->setDeprecated (
416- 'doctrine/doctrine-bundle ' ,
417- '3.1 ' ,
418- 'The "%node%" option is deprecated and will be removed in DoctrineBundle 4.0, as it only accepts `false` since 3.0. ' ,
419- )
420- ->info ('Set to true to enable using route placeholders as lookup criteria when the primary key doesn \'t match the argument name ' )
421- ->end ()
422409 ->booleanNode ('evict_cache ' )
423410 ->info ('Set to true to fetch the entity from the database instead of using the cache, if any ' )
424411 ->defaultFalse ()
You can’t perform that action at this time.
0 commit comments