feat: PHPStan Level 1 #33
psalm_unit_tests.yml
on: pull_request
PHPStan
12s
PHPUnit
19s
Annotations
11 errors
PHPStan:
src/Stream/Stream.php#L164
Method Artemeon\HttpClient\Stream\Stream::detach() should return resource|null but return statement is missing.
|
PHPStan:
tests/Unit/Client/ArtemeonHttpClientTest.php#L88
Cannot call method shouldNotBeCalled() on array.
|
PHPStan:
tests/Unit/Client/ArtemeonHttpClientTest.php#L102
Cannot call method shouldBeCalled() on array.
|
PHPStan:
tests/Unit/Client/HttpClientLogDecoratorTest.php#L67
Call to an undefined method Artemeon\HttpClient\Http\Response::willReturn().
|
PHPStan:
tests/Unit/Client/HttpClientLogDecoratorTest.php#L84
Call to an undefined method Artemeon\HttpClient\Http\Response::willThrow().
|
PHPStan:
tests/Unit/Client/HttpClientLogDecoratorTest.php#L85
Cannot call method shouldBeCalled() on null.
|
PHPStan:
tests/Unit/Client/HttpClientLogDecoratorTest.php#L85
Result of method Psr\Log\LoggerInterface::error() (void) is used.
|
PHPStan:
tests/Unit/Client/HttpClientLogDecoratorTest.php#L100
Call to an undefined method Artemeon\HttpClient\Http\Response::willThrow().
|
PHPStan:
tests/Unit/Client/HttpClientLogDecoratorTest.php#L101
Cannot call method shouldBeCalled() on null.
|
PHPStan:
tests/Unit/Client/HttpClientLogDecoratorTest.php#L101
Result of method Psr\Log\LoggerInterface::error() (void) is used.
|
PHPUnit
Process completed with exit code 1.
|