-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Config] Do not array_unique EnumNode values #48957
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
fabpot
merged 1 commit into
symfony:6.3
from
fancyweb:config/remove-array-unique-from-enum-node
Jan 19, 2023
Merged
[Config] Do not array_unique EnumNode values #48957
fabpot
merged 1 commit into
symfony:6.3
from
fancyweb:config/remove-array-unique-from-enum-node
Jan 19, 2023
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4fda48e
to
7de44c2
Compare
Why no using |
|
stof
approved these changes
Jan 12, 2023
src/Symfony/Component/Config/Builder/ConfigBuilderGenerator.php
Outdated
Show resolved
Hide resolved
7de44c2
to
b1ad668
Compare
b1ad668
to
c9d8b15
Compare
nicolas-grekas
approved these changes
Jan 19, 2023
Thank you @fancyweb. |
chalasr
added a commit
that referenced
this pull request
Jan 21, 2023
This PR was merged into the 6.3 branch. Discussion ---------- [Config] Fix EnumNode invalid value message | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | no | Deprecations? | - | Tickets | - | License | MIT | Doc PR | - Forgot one `array_unique` in #48957 Commits ------- fd48818 [Config] Fix EnumNode invalid value message
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Using
array_unique
for the values doesn't have an impact on the core behavior of this node but it causes an issue with non-scalar values that get coerced to the same string. Since it never worked, we could apply this change safely on 6.3.