Skip to content

Fix bigint PHP_INT_MIN/PHP_INT_MAX string to int convert #5807

Fix bigint PHP_INT_MIN/PHP_INT_MAX string to int convert

Fix bigint PHP_INT_MIN/PHP_INT_MAX string to int convert #5807

Triggered via pull request June 18, 2024 10:16
Status Failure
Total duration 1m 2s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Static Analysis with PHPStan
Matrix: Static Analysis with Psalm
Fit to window
Zoom out
Zoom in

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.