Dynamic ruleset collection #491
Annotations
4 errors and 2 warnings
../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)
|
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
This job failed
Loading