Skip to content

rewrite tests from phpspec to phpunit #147

rewrite tests from phpspec to phpunit

rewrite tests from phpspec to phpunit #147

Triggered via pull request November 29, 2025 18:51
@dbudbu
synchronize #253
remove-phpspec
Status Failure
Total duration 16s
Artifacts

static.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan: src/HttpMethodsClient.php#L73
Method Http\Client\Common\HttpMethodsClient::put() has parameter $headers with no value type specified in iterable type array.
PHPStan: src/HttpMethodsClient.php#L68
Method Http\Client\Common\HttpMethodsClient::post() has parameter $headers with no value type specified in iterable type array.
PHPStan: src/HttpMethodsClient.php#L63
Method Http\Client\Common\HttpMethodsClient::trace() has parameter $headers with no value type specified in iterable type array.
PHPStan: src/HttpMethodsClient.php#L58
Method Http\Client\Common\HttpMethodsClient::head() has parameter $headers with no value type specified in iterable type array.
PHPStan: src/HttpMethodsClient.php#L53
Method Http\Client\Common\HttpMethodsClient::get() has parameter $headers with no value type specified in iterable type array.
PHPStan: src/HttpClientPool/HttpClientPoolItem.php#L108
Invalid type mixed to throw.
PHPStan: src/Deferred.php#L73
Parameter #1 $response of method Http\Client\Common\Deferred::resolve() expects Psr\Http\Message\ResponseInterface, mixed given.
PHPStan: src/Deferred.php#L63
Parameter #1 $response of method Http\Client\Common\Deferred::resolve() expects Psr\Http\Message\ResponseInterface, mixed given.
PHPStan: src/BatchResult.php#L130
Method Http\Client\Common\BatchResult::getExceptionFor() has UnexpectedValueException in PHPDoc `@throws` tag but it's not thrown.
PHPStan: src/BatchResult.php#L71
Method Http\Client\Common\BatchResult::getResponseFor() has UnexpectedValueException in PHPDoc `@throws` tag but it's not thrown.