Skip to content

Creation of dynamic property Http\HttpRequest::$inputStream is deprecated #24

@james-w-arnold

Description

@james-w-arnold

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions