Skip to content

ClassReflection: narrow getNativeReflection after isEnum is true #20518

ClassReflection: narrow getNativeReflection after isEnum is true

ClassReflection: narrow getNativeReflection after isEnum is true #20518

Triggered via pull request April 8, 2025 10:52
Status Failure
Total duration 3m 18s
Artifacts

static-analysis.yml

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

Annotations

20 errors
PHPStan (7.4, ubuntu-latest): src/PhpDoc/ConstExprNodeResolver.php#L100
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.
PHPStan (7.4, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L1169
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.
PHPStan (7.4, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L1198
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.
PHPStan (7.4, ubuntu-latest): src/Reflection/ClassReflection.php#L458
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.
PHPStan (7.4, ubuntu-latest): src/Reflection/ClassReflection.php#L525
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.
PHPStan (7.4, ubuntu-latest): src/Reflection/ClassReflection.php#L701
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.
PHPStan (7.4, ubuntu-latest): src/Reflection/ClassReflection.php#L789
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.
PHPStan (7.4, ubuntu-latest): src/Reflection/ClassReflection.php#L825
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.
PHPStan (7.4, ubuntu-latest): src/Reflection/ClassReflection.php#L837
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.
PHPStan (7.4, ubuntu-latest): src/Reflection/ClassReflection.php#L884
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.
PHPStan (7.4, windows-latest): src/PhpDoc/ConstExprNodeResolver.php#L100
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.
PHPStan (7.4, windows-latest): src/PhpDoc/TypeNodeResolver.php#L1169
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.
PHPStan (7.4, windows-latest): src/PhpDoc/TypeNodeResolver.php#L1198
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.
PHPStan (7.4, windows-latest): src/Reflection/ClassReflection.php#L458
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.
PHPStan (7.4, windows-latest): src/Reflection/ClassReflection.php#L525
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.
PHPStan (7.4, windows-latest): src/Reflection/ClassReflection.php#L701
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.
PHPStan (7.4, windows-latest): src/Reflection/ClassReflection.php#L789
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.
PHPStan (7.4, windows-latest): src/Reflection/ClassReflection.php#L825
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.
PHPStan (7.4, windows-latest): src/Reflection/ClassReflection.php#L837
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.
PHPStan (7.4, windows-latest): src/Reflection/ClassReflection.php#L884
Call to method PHPStan\Reflection\ClassReflection::isEnum() will always evaluate to false.