Skip to content

Fix for PHP 8.4

Fix for PHP 8.4 #33

Triggered via pull request December 29, 2024 22:41
Status Failure
Total duration 26s
Artifacts

static.yml

on: pull_request
Matrix: static
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 2 warnings
RiskyTruthyFalsyComparison: src/Route.php#L327
src/Route.php:327:17: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Route.php#L343
src/Route.php:343:17: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Route.php#L345
src/Route.php:345:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Route.php#L441
src/Route.php:441:17: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
PHP 8.1-ubuntu-latest
Process completed with exit code 2.
RiskyTruthyFalsyComparison: src/Route.php#L327
src/Route.php:327:17: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Route.php#L343
src/Route.php:343:17: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Route.php#L345
src/Route.php:345:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Route.php#L441
src/Route.php:441:17: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
PHP 8.0-ubuntu-latest
Process completed with exit code 2.
PHP 8.3-ubuntu-latest
The job was canceled because "ubuntu-latest_8_1" failed.
RiskyTruthyFalsyComparison: src/Route.php#L327
src/Route.php:327:17: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Route.php#L343
src/Route.php:343:17: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Route.php#L345
src/Route.php:345:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Route.php#L441
src/Route.php:441:17: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
PHP 8.3-ubuntu-latest
Process completed with exit code 2.
PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_1" failed.
PHP 8.2-ubuntu-latest
The operation was canceled.
PHP 7.4-ubuntu-latest
The job was canceled because "ubuntu-latest_8_1" failed.
PHP 7.4-ubuntu-latest
The operation was canceled.
PHP 8.1-ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.0-ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636