Skip to content

Commit 0b201a1

Browse files
minor symfony#57972 [FrameworkBundle] Re-remove redundant name attribute from default_context (HypeMC)
This PR was merged into the 7.1 branch. Discussion ---------- [FrameworkBundle] Re-remove redundant name attribute from `default_context` | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT This was originally removed in symfony#53657 but was later reintroduced in v7.1.2, likely by accident, in the following merge commit: symfony@67ac926. Commits ------- 83fe767 [FrameworkBundle] Re-remove redundant name attribute from `default_context`
2 parents 6e7fe3e + 83fe767 commit 0b201a1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,6 @@ private function addSerializerSection(ArrayNodeDefinition $rootNode, callable $e
11181118
->end()
11191119
->arrayNode('default_context')
11201120
->normalizeKeys(false)
1121-
->useAttributeAsKey('name')
11221121
->validate()
11231122
->ifTrue(fn () => $this->debug && class_exists(JsonParser::class))
11241123
->then(fn (array $v) => $v + [JsonDecode::DETAILED_ERROR_MESSAGES => true])

0 commit comments

Comments
 (0)