Fix test code for PHPStan level 9 #90
Annotations
10 errors
|
|
|
|
Run PHPStan with PHP 8.2:
src/V1/ResourceNull.php#L50
Result of && is always false.
|
Run PHPStan with PHP 8.2:
src/V1/ResourceNull.php#L50
Result of || is always false.
|
Run PHPStan with PHP 8.2:
tests/Unit/Helper/AccessableTraitTest.php#L34
Call to an undefined method PHPUnit\Framework\MockObject\MockObject::has().
|
Run PHPStan with PHP 8.2:
tests/Unit/Helper/AccessableTraitTest.php#L55
Call to an undefined method PHPUnit\Framework\MockObject\MockObject::has().
|
Run PHPStan with PHP 8.2:
tests/Unit/V1/ResourceNullTest.php#L90
Parameter #1 $key of method Art4\JsonApiClient\V1\ResourceNull::has() expects Art4\JsonApiClient\Helper\AccessKey|int|string, stdClass given.
|
Run PHPStan with PHP 8.2:
tests/Unit/V1/ResourceNullTest.php#L115
Parameter #1 $key of method Art4\JsonApiClient\V1\ResourceNull::has() expects Art4\JsonApiClient\Helper\AccessKey|int|string, array given.
|