Fix pending PHPStan errors in PR #233 #95
static.yml
on: pull_request
PHPStan
14s
PHP-CS-Fixer
5s
Annotations
4 errors
PHPStan:
src/Plugin/HistoryPlugin.php#L40
Parameter #2 $onRejected of method Http\Promise\Promise<Psr\Http\Message\ResponseInterface>::then() expects (callable(Throwable): Psr\Http\Message\ResponseInterface)|null, Closure(Psr\Http\Client\ClientExceptionInterface): never given.
|
PHPStan:
src/Plugin/RedirectPlugin.php#L218
Method Http\Client\Common\Plugin\RedirectPlugin::guessStreamFactory() should return Psr\Http\Message\StreamFactoryInterface|null but returns Nyholm\Psr7\Factory\Psr17Factory.
|
PHPStan:
src/Plugin/RedirectPlugin.php#L224
Call to static method streamFor() on an unknown class GuzzleHttp\Psr7\Utils.
|
PHPStan:
src/Plugin/RetryPlugin.php#L125
Parameter #2 $onRejected of method Http\Promise\Promise<Psr\Http\Message\ResponseInterface>::then() expects (callable(Throwable): Psr\Http\Message\ResponseInterface)|null, Closure(Psr\Http\Client\ClientExceptionInterface): Psr\Http\Message\ResponseInterface given.
|