Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0b201a1

Browse filesBrowse files
minor #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 #53657 but was later reintroduced in v7.1.2, likely by accident, in the following merge commit: 67ac926. Commits ------- 83fe767 [FrameworkBundle] Re-remove redundant name attribute from `default_context`
2 parents 6e7fe3e + 83fe767 commit 0b201a1
Copy full SHA for 0b201a1

File tree

1 file changed

+0
-1
lines changed
Filter options

1 file changed

+0
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.