Fix bigint PHP_INT_MIN/PHP_INT_MAX string to int convert #5888
static-analysis.yml
on: pull_request
Matrix: Static Analysis with PHPStan
Matrix: Static Analysis with Psalm
Annotations
4 errors
TypeDoesNotContainType:
src/Types/BigIntType.php#L57
src/Types/BigIntType.php:57:16: TypeDoesNotContainType: Type never for $value is never =string(1) (see https://psalm.dev/056)
|
InvalidCast:
src/Types/BigIntType.php#L57
src/Types/BigIntType.php:57:42: InvalidCast: never cannot be cast to int (see https://psalm.dev/103)
|
NoValue:
src/Types/BigIntType.php#L62
src/Types/BigIntType.php:62:9: NoValue: All possible types for this return were invalidated - This may be dead code (see https://psalm.dev/179)
|
Static Analysis with Psalm (8.3)
Process completed with exit code 2.
|