-
-
Notifications
You must be signed in to change notification settings - Fork 166
Closed
Labels
Description
I'm using the http server with a Synfony 5.4 bootstrap.
SF tracks deprecated stuff (I don't know exactly how).
I've this message
User Deprecated: Method "Psr\Http\Message\StreamInterface::getMetadata()" might add "mixed" as a native return type declaration in the future. Do the same in implementation "RingCentral\Psr7\Stream" now to avoid errors or add an explicit @return annotation to suppress this message.
Issues can not be created in the forked repo so I open it there (cf #319).
my phpstan is also complaining about ringcentral/psr7
[phpstan] Method RingCentral\Psr7\Request::withHeader() should return static(RingCentral\Psr7\Request) but returns RingCentral\Psr7\Request.
[phpstan] PHPDoc tag @var has invalid value ($stream): Unexpected token "$stream", expected type at offset 45
It's only phpDoc stuff but in my version upgrade flow I try to eliminate all deprecation issue ASAP.