Skip to content

ClassReflection: narrow getNativeReflection after isEnum is true #20596

ClassReflection: narrow getNativeReflection after isEnum is true

ClassReflection: narrow getNativeReflection after isEnum is true #20596

Triggered via pull request April 15, 2025 13:58
Status Failure
Total duration 4m 27s
Artifacts

static-analysis.yml

on: pull_request
Generate baseline
1m 27s
Generate baseline
Generate PHP baseline
1m 41s
Generate PHP baseline
Matrix: PHPStan with result cache
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

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.