Closed RobLoach closed 6 years ago
As far as I see there is no need for check about the php version because the isset
method is safe in that future.
May just add a comment advising about the required php version for locate and remove dead code in the future.
Yes, due to this I'm getting deprecated messages time and again in my application and had to make changes in the php.ini to hide it.
PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0
@kabirbaidhya and/or @RobLoach — as this is a relatively easy fix, would one of you be willing to provide a pull request?
:+1:
The AbstractCallback class makes use of
$GLOBALS['HTTP_RAW_POST_DATA']
, which is deprecated in PHP 5.6.I suggest either: