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

PHP7 consistent ordering for splitHttpAcceptHeader #11

Merged
merged 1 commit into from
Sep 6, 2016

Conversation

mdeheij
Copy link

@mdeheij mdeheij commented Sep 6, 2016

In PHP7 sorting order is changed, splitHttpAcceptHeader was
relying on unspecified behaviour of arsort(). Sorting order
is now made explicit.


require_once (__DIR__ . '/../../../lib/request/sfWebRequest.class.php');

class sfWebRequestTest extends TestCase

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing @covers

@mdeheij mdeheij force-pushed the splitHttpAcceptHeader branch 2 times, most recently from 2b1c7ce to cad5a33 Compare September 6, 2016 11:30
In PHP7 sorting order is changed, splitHttpAcceptHeader was
relying on unspecified behaviour of arsort(). Sorting order
is now made explicit.
@mdeheij mdeheij force-pushed the splitHttpAcceptHeader branch from cad5a33 to 865bb94 Compare September 6, 2016 12:46
@nicoschoenmaker nicoschoenmaker merged commit 5aaf4e5 into hostnet:1.1 Sep 6, 2016
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.

4 participants