Skip to content

Fix wrong PHP_INT_MAX/MIN and PHP_DEBUG PHP 8.4 type #13542

Fix wrong PHP_INT_MAX/MIN and PHP_DEBUG PHP 8.4 type

Fix wrong PHP_INT_MAX/MIN and PHP_DEBUG PHP 8.4 type #13542

Triggered via pull request December 23, 2024 12:33
Status Failure
Total duration 1m 5s
Artifacts

shepherd.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
InvalidScalarArgument: src/Psalm/Internal/Analyzer/Statements/Expression/Fetch/ConstFetchAnalyzer.php#L171
src/Psalm/Internal/Analyzer/Statements/Expression/Fetch/ConstFetchAnalyzer.php:171:48: InvalidScalarArgument: Argument 2 of Psalm\Type::getInt expects int|null, but float(-9.2233720368548E+18) provided (see https://psalm.dev/012)
build
Process completed with exit code 2.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636