http
http copied to clipboard
Creation of dynamic property Http\HttpRequest::$inputStream is deprecated
PHP 8.2 deprecated the creation of dynamic properties: https://php.watch/versions/8.2/dynamic-properties-deprecated
Currently, attempting to instantiate an instance of HttpRequest results in a deprecated error in PHP 8.2.
It is caused by this line:
$this->inputStream = $inputStream;
in HttpRequest.
Should be a simple fix to add it as a named property - I will put up a PR.
I uploaded my own version because I sent a pull request to support php 8.2 , but never response and the package is not update it since 2016. https://github.com/masterfermin02/http