Skip to content

Fix static ci

Fix static ci #94

Triggered via pull request November 3, 2023 15:58
Status Failure
Total duration 24s
Artifacts

static.yml

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

Annotations

10 errors
PHPStan: src/Deferred.php#L14
Class Http\Client\Common\Deferred implements generic interface Http\Promise\Promise but does not specify its types: T
PHPStan: src/Deferred.php#L63
Parameter #1 $response of method Http\Client\Common\Deferred::resolve() expects Psr\Http\Message\ResponseInterface, Psr\Http\Message\ResponseInterface|V given.
PHPStan: src/Deferred.php#L72
Parameter #1 $ of callable callable(Exception): V expects Exception, Psr\Http\Client\ClientExceptionInterface given.
PHPStan: src/Deferred.php#L73
Parameter #1 $response of method Http\Client\Common\Deferred::resolve() expects Psr\Http\Message\ResponseInterface, V given.
PHPStan: src/HttpAsyncClientDecorator.php (in context of class Http/Client/Common/EmulatedHttpClient)#L25
Method Http\Client\Common\EmulatedHttpClient::sendAsyncRequest() return type with generic interface Http\Promise\Promise does not specify its types: T
PHPStan: src/HttpAsyncClientDecorator.php (in context of class Http/Client/Common/FlexibleHttpClient)#L25
Method Http\Client\Common\FlexibleHttpClient::sendAsyncRequest() return type with generic interface Http\Promise\Promise does not specify its types: T
PHPStan: src/HttpAsyncClientEmulator.php (in context of class Http/Client/Common/EmulatedHttpAsyncClient)#L27
Method Http\Client\Common\EmulatedHttpAsyncClient::sendAsyncRequest() return type with generic interface Http\Promise\Promise does not specify its types: T
PHPStan: src/HttpClientPool/HttpClientPool.php#L55
Method Http\Client\Common\HttpClientPool\HttpClientPool::sendAsyncRequest() return type with generic interface Http\Promise\Promise does not specify its types: T
PHPStan: src/HttpClientPool/HttpClientPoolItem.php#L92
Method Http\Client\Common\HttpClientPool\HttpClientPoolItem::sendAsyncRequest() return type with generic interface Http\Promise\Promise does not specify its types: T
PHPStan: src/HttpClientRouter.php#L29
Method Http\Client\Common\HttpClientRouter::sendAsyncRequest() return type with generic interface Http\Promise\Promise does not specify its types: T