Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[Config] Fix array sort on normalization in edge case#17129

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:2.3fromromainneutron:fix-config-array-order
Dec 26, 2015

Conversation

@romainneutron
Copy link
Contributor

QA
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed ticketsN/A
LicenseMIT
Doc PRN/A

@romainneutron
Copy link
ContributorAuthor

What solved by this issue:

At the moment, if you define a bundle configuration like this:

config:   anything-with-a-dash-and-no-underscore: value   anythingelse: othervalue

It is resolved like this:

["config"]=>  array(2) {    ["anythingelse"] => string(10) "othervalue"    ["anything_with_a_dash_and_no_underscore"] => string(5) "value"  }

instead of

["config"]=>  array(2) {    ["anything_with_a_dash_and_no_underscore"] => string(5) "value"    ["anythingelse"] => string(10) "othervalue"  }

This is particularly a problem when defining prioritized rules :)

You can find the details of the issue atnelmio/NelmioSecurityBundle#72

@nicolas-grekas
Copy link
Member

👍

1 similar comment
@tucksaun
Copy link
Contributor

👍

@xabbuh
Copy link
Member

👍

Status: Reviewed

@fabpot
Copy link
Member

Thank you@romainneutron.

@fabpotfabpot merged commiteca41a8 intosymfony:2.3Dec 26, 2015
fabpot added a commit that referenced this pull requestDec 26, 2015
…ainneutron)This PR was merged into the 2.3 branch.Discussion----------[Config] Fix array sort on normalization in edge case| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | N/A| License       | MIT| Doc PR        | N/ACommits-------eca41a8 [Config] Fix array sort on normalization in edge case
This was referencedDec 26, 2015
@romainneutronromainneutron deleted the fix-config-array-order branchDecember 28, 2015 09:22
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@romainneutron@nicolas-grekas@tucksaun@xabbuh@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp