ClassReflection: narrow getNativeReflection after isEnum is true #20596
static-analysis.yml
on: pull_request
Generate baseline
1m 27s
Generate PHP baseline
1m 41s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
4 errors
PHPStan (7.4, ubuntu-latest):
tests/PHPStan/Reflection/ClassReflectionTest.php#L1
Ignored error pattern #^Parameter \#1 \$expected of method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) expects class\-string\<ReflectionEnum\>, string given\.$# in path /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Reflection/ClassReflectionTest.php was not matched in reported errors.
|
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (7.4, windows-latest):
tests/PHPStan/Reflection/ClassReflectionTest.php#L1
Ignored error pattern #^Parameter \#1 \$expected of method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) expects class\-string\<ReflectionEnum\>, string given\.$# in path D:\a\phpstan-src\phpstan-src\tests\PHPStan\Reflection\ClassReflectionTest.php was not matched in reported errors.
|
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
|