Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Remove use of $GLOBALS['HTTP_RAW_POST_DATA'] #16

Closed
wants to merge 2 commits into from

Conversation

RobLoach
Copy link
Contributor

Fixes #10

@@ -13,7 +13,7 @@
}
},
"require": {
"php": ">=5.5",
"php": ">=5.6",
Copy link
Contributor

Choose a reason for hiding this comment

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

this should be reverted.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, reading quickly through http://php.net/manual/en/wrappers.php.php#wrappers.php.input , I thought it was not available in <= PHP 5.5. I see I was mistaken. Thanks! I'll update.

@Maks3w
Copy link
Member

Maks3w commented Nov 26, 2015

Note: Prior to PHP 5.6, a stream opened with php://input could only be read once

@Xerkus
Copy link
Member

Xerkus commented Mar 31, 2017

This change is a go now that minimum php version is bumped to 5.6

@RobLoach would you rebase and update tests that are dependent on HTTP_RAW_POST_DATA?

@weierophinney
Copy link
Member

Closing in favor of #74, which builds on this one, but updates the tests accordingly as well.

weierophinney added a commit that referenced this pull request May 14, 2018
weierophinney added a commit that referenced this pull request May 14, 2018
weierophinney added a commit that referenced this pull request May 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants