Skip to content

Fix pending PHPStan errors in PR #233 #95

Fix pending PHPStan errors in PR #233

Fix pending PHPStan errors in PR #233 #95

Re-run triggered November 8, 2023 12:59
Status Failure
Total duration 25s
Artifacts

static.yml

on: pull_request
PHPStan
14s
PHPStan
PHP-CS-Fixer
5s
PHP-CS-Fixer
Fit to window
Zoom out
Zoom in

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.