Skip to content
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

Implement getOrderedElements() #90

Merged
merged 2 commits into from
Mar 4, 2017

Conversation

akrabat
Copy link
Contributor

@akrabat akrabat commented Jan 23, 2017

This method retrieves the elements of the given Accept/Accept-* header as an array ordered with the most preferred first.

Fixes #75

@akrabat
Copy link
Contributor Author

akrabat commented Jan 23, 2017

Hmm... Seems that PHP 5 and PHP 7 order differently when equal…

@willdurand
Copy link
Owner

😞

@akrabat
Copy link
Contributor Author

akrabat commented Jan 24, 2017

Reading the logs, I think the AppVeyor build has failed due to an installation issue rather than anything to do with this change.

@akrabat
Copy link
Contributor Author

akrabat commented Jan 24, 2017

This also merges cleanly to the 2.x branch.

@willdurand
Copy link
Owner

Yep, I don't get why it fails actually. Investigating right now...

@willdurand
Copy link
Owner

Hi @akrabat, could you please rebase your branch so that we can ensure it passes on Appveyor too? I fixed the build (in theory).

akrabat added 2 commits March 3, 2017 16:32
This method retrieves the elements of the given Accept/Accept-* header
as an array ordered with the most preferred first.

Fixes willdurand#75
@akrabat akrabat force-pushed the get-ordered-elements branch from e3f11a3 to 57e02a2 Compare March 3, 2017 16:32
@akrabat
Copy link
Contributor Author

akrabat commented Mar 3, 2017

Rebased

@akrabat
Copy link
Contributor Author

akrabat commented Mar 3, 2017

@willdurand There we go! Thanks for fixing Appveyor 👍

@willdurand willdurand merged commit 898827f into willdurand:master Mar 4, 2017
@willdurand
Copy link
Owner

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants