Skip to content

Commit c21e302

Browse files
committed
bug symfony#59988 [FrameworkBundle] Remove redundant name attribute from default_context (HypeMC)
This PR was merged into the 6.4 branch. Discussion ---------- [FrameworkBundle] Remove redundant `name` attribute from `default_context` | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes? | New feature? | no | Deprecations? | no | Issues | - | License | MIT This was initially merged into v7.1 in symfony#53657. However, after seeing `@wouterj`'s [comment](symfony#53657 (comment)) (which I missed earlier), I opened this PR to see if we might want to reconsider this as a bug after all. Commits ------- f71a850 [FrameworkBundle] Remove redundant `name` attribute from `default_context`
2 parents 97ee45d + f71a850 commit c21e302

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
@@ -1196,7 +1196,6 @@ private function addSerializerSection(ArrayNodeDefinition $rootNode, callable $e
11961196
->end()
11971197
->arrayNode('default_context')
11981198
->normalizeKeys(false)
1199-
->useAttributeAsKey('name')
12001199
->validate()
12011200
->ifTrue(fn () => $this->debug && class_exists(JsonParser::class))
12021201
->then(fn (array $v) => $v + [JsonDecode::DETAILED_ERROR_MESSAGES => true])

0 commit comments

Comments
 (0)