Skip to content

Merge pull request #74 from php-http/cs #41

Merge pull request #74 from php-http/cs

Merge pull request #74 from php-http/cs #41

Triggered via push March 5, 2024 07:44
Status Failure
Total duration 19s
Artifacts

static.yml

on: push
PHPStan
10s
PHPStan
PHP-CS-Fixer
8s
PHP-CS-Fixer
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan: src/ResponseReader.php (in context of class Http/Client/Socket/Client)#L24
Property Http\Client\Socket\Client::$responseFactory has unknown class Http\Message\ResponseFactory as its type.
PHPStan: src/Stream.php#L73
Return type mixed of method Http\Client\Socket\Stream::close() is not covariant with return type void of method Psr\Http\Message\StreamInterface::close().
PHPStan: src/Stream.php#L96
Return type mixed of method Http\Client\Socket\Stream::getSize() is not covariant with return type int|null of method Psr\Http\Message\StreamInterface::getSize().
PHPStan: src/Stream.php#L101
Return type mixed of method Http\Client\Socket\Stream::tell() is not covariant with return type int of method Psr\Http\Message\StreamInterface::tell().
PHPStan: src/Stream.php#L114
Return type mixed of method Http\Client\Socket\Stream::eof() is not covariant with return type bool of method Psr\Http\Message\StreamInterface::eof().
PHPStan: src/Stream.php#L123
Return type mixed of method Http\Client\Socket\Stream::isSeekable() is not covariant with return type bool of method Psr\Http\Message\StreamInterface::isSeekable().
PHPStan: src/Stream.php#L131
Return type mixed of method Http\Client\Socket\Stream::seek() is not covariant with return type void of method Psr\Http\Message\StreamInterface::seek().
PHPStan: src/Stream.php#L139
Return type mixed of method Http\Client\Socket\Stream::rewind() is not covariant with return type void of method Psr\Http\Message\StreamInterface::rewind().
PHPStan: src/Stream.php#L144
Return type mixed of method Http\Client\Socket\Stream::isWritable() is not covariant with return type bool of method Psr\Http\Message\StreamInterface::isWritable().
PHPStan: src/Stream.php#L149
Return type mixed of method Http\Client\Socket\Stream::write() is not covariant with return type int of method Psr\Http\Message\StreamInterface::write().