Skip to content

Fix for PHP 8.4

Fix for PHP 8.4 #34

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

static.yml

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

Annotations

13 errors and 1 warning
RiskyTruthyFalsyComparison: src/MiddlewarePipeline.php#L29
src/MiddlewarePipeline.php:29:30: 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_0" failed.
RiskyTruthyFalsyComparison: src/MiddlewarePipeline.php#L29
src/MiddlewarePipeline.php:29:30: 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_0" failed.
RiskyTruthyFalsyComparison: src/MiddlewarePipeline.php#L29
src/MiddlewarePipeline.php:29:30: 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.2-ubuntu-latest
Process completed with exit code 2.
PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_0" failed.
RiskyTruthyFalsyComparison: src/MiddlewarePipeline.php#L29
src/MiddlewarePipeline.php:29:30: 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
The operation was canceled.
PHP 7.4-ubuntu-latest
The job was canceled because "ubuntu-latest_8_0" failed.
PHP 7.4-ubuntu-latest
The operation was canceled.
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