Skip to content

fix cs

fix cs #39

Triggered via pull request March 4, 2024 22:37
@dbudbu
opened #74
cs
Status Failure
Total duration 21s
Artifacts

static.yml

on: pull_request
PHPStan
11s
PHPStan
PHP-CS-Fixer
4s
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().