Dynamic ruleset collection #491
Annotations
5 errors
|
../src/Test/TestExtractor.php#L37
../src/Test/TestExtractor.php:37:16: InvalidDocblock: class-string param can only target to named or callable objects in docblock for PHPat\Test\TestExtractor::reflectTest (see https://psalm.dev/008)
|
../src/Test/TestExtractor.php#L38
../src/Test/TestExtractor.php:38:16: InvalidReturnType: The declared return type 'ReflectionClass<object>|null' for PHPat\Test\TestExtractor::reflectTest is incorrect, got 'PHPStan\BetterReflection\Reflection\Adapter\ReflectionClass|PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum|null' (see https://psalm.dev/011)
|
../src/Test/TestExtractor.php#L46
../src/Test/TestExtractor.php:46:16: InvalidReturnStatement: The inferred type 'PHPStan\BetterReflection\Reflection\Adapter\ReflectionClass|PHPStan\BetterReflection\Reflection\Adapter\ReflectionEnum' does not match the declared return type 'ReflectionClass<object>|null' for PHPat\Test\TestExtractor::reflectTest (see https://psalm.dev/128)
|
|
This job failed
Loading