ClassReflection: narrow getNativeReflection after isEnum is true #20518
static-analysis.yml
on: pull_request
Generate baseline
1m 27s
Generate PHP baseline
1m 26s
Matrix: PHPStan with result cache
Matrix: PHPStan
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.
|