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

[Console] don't rely on internal sort implementation om test#15940

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.8fromxabbuh:alternatives-order-test
Sep 27, 2015

Conversation

@xabbuh
Copy link
Member

QA
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#14894
LicenseMIT
Doc PR

PHP does not guarantuee how array elements with the same value will be
sorted when applyingasort(). Since all namespaces used in the test
produce the same Levenshtein value, we should only check for presence of
these namespaces instead of comparing the exact order.

@xabbuh
Copy link
MemberAuthor

The builds were failing on HHVM and PHP7. Explanations can be found onhttps://bugs.php.net/bug.php?id=70289,php/php-src#999 andfacebook/hhvm#4649.

@fabpot
Copy link
Member

👍

PHP does not guarantuee how array elements with the same value will besorted when applying `asort()`. Since all namespaces used in the testproduce the same Levenshtein value, we should only check for presence ofthese namespaces instead of comparing the exact order.
@jakzal
Copy link
Contributor

👍

@xabbuh
Copy link
MemberAuthor

The Travis failures are not related to this PR.

@fabpot
Copy link
Member

Thank you@xabbuh.

@fabpotfabpot merged commit3011fa0 intosymfony:2.8Sep 27, 2015
fabpot added a commit that referenced this pull requestSep 27, 2015
…test (xabbuh)This PR was merged into the 2.8 branch.Discussion----------[Console] don't rely on internal sort implementation om test| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#14894| License       | MIT| Doc PR        |PHP does not guarantuee how array elements with the same value will besorted when applying `asort()`. Since all namespaces used in the testproduce the same Levenshtein value, we should only check for presence ofthese namespaces instead of comparing the exact order.Commits-------3011fa0 don't rely on internal sort implementation in test
@xabbuhxabbuh deleted the alternatives-order-test branchSeptember 27, 2015 14:58
@GromNaN
Copy link
Member

Thanks@xabbuh

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.

5 participants

@xabbuh@fabpot@jakzal@GromNaN@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp