Add PHPStan #4
static-analysis.yml
on: pull_request
Static analysis
1m 1s
Annotations
6 errors
Static analysis:
tests/ModelTest.php#L1
Ignored error pattern #^Parameter \$response of method Picqer\\Tests\\ModelTest\:\:createMockHandler\(\) has invalid type Picqer\\Tests\\Support\\GuzzleHttp\\Psr7\\Response\.$# (class.notFound) in path /home/runner/work/exact-php-client/exact-php-client/tests/ModelTest.php was not matched in reported errors.
|
Static analysis:
tests/QueryParamTest.php#L1
Ignored error pattern #^Parameter \#1 \$response of method Picqer\\Tests\\QueryParamTest\:\:createMockHandler\(\) expects array\|Picqer\\Tests\\Support\\GuzzleHttp\\Psr7\\Response\|string\|null, GuzzleHttp\\Psr7\\Response given\.$# (argument.type) in path /home/runner/work/exact-php-client/exact-php-client/tests/QueryParamTest.php was not matched in reported errors.
|
Static analysis:
tests/QueryParamTest.php#L1
Ignored error pattern #^Parameter \$response of method Picqer\\Tests\\QueryParamTest\:\:createMockHandler\(\) has invalid type Picqer\\Tests\\Support\\GuzzleHttp\\Psr7\\Response\.$# (class.notFound) in path /home/runner/work/exact-php-client/exact-php-client/tests/QueryParamTest.php was not matched in reported errors.
|
Static analysis:
tests/ResultsetTest.php#L1
Ignored error pattern #^Parameter \$response of method Picqer\\Tests\\ResultsetTest\:\:createMockHandler\(\) has invalid type Picqer\\Tests\\Support\\GuzzleHttp\\Psr7\\Response\.$# (class.notFound) in path /home/runner/work/exact-php-client/exact-php-client/tests/ResultsetTest.php was not matched in reported errors.
|
Static analysis:
tests/ResultsetTest.php#L42
Call to method PHPUnit\Framework\Assert::assertIsIterable() with Generator will always evaluate to true.
|
Static analysis
Process completed with exit code 1.
|