Remove unnecessary constants #2320
Annotations
7 errors
src/Reflection/ReflectionClass.php#L1
Ignored error pattern #Method Roave\\BetterReflection\\Reflection\\ReflectionClass::computeModifiers\(\) never returns \d+ so it can be removed from the return type# in path /home/runner/work/BetterReflection/BetterReflection/src/Reflection/ReflectionClass.php was not matched in reported errors.
|
src/Reflection/ReflectionClass.php#L1204
Access to undefined constant Roave\BetterReflection\Reflection\Adapter\ReflectionClass::IS_READONLY.
|
src/Reflection/ReflectionClass.php#L1204
Access to undefined constant Roave\BetterReflection\Reflection\Adapter\ReflectionClass::IS_READONLY.
|
src/Reflection/ReflectionClass.php#L1226
Access to undefined constant Roave\BetterReflection\Reflection\Adapter\ReflectionClass::IS_READONLY.
|
src/Reflection/ReflectionClass.php#L1228
Method Roave\BetterReflection\Reflection\ReflectionClass::computeModifiers() should return 0|16|32|48|64|80|96|112 but returns (float|int).
|
test/unit/Reflection/ReflectionClassTest.php#L1311
Access to undefined constant Roave\BetterReflection\Reflection\Adapter\ReflectionClass::IS_READONLY.
|
|
This job failed
Loading