Skip to content

Fix implicitly nullable parameter declarations for PHP 8.4 #36

Fix implicitly nullable parameter declarations for PHP 8.4

Fix implicitly nullable parameter declarations for PHP 8.4 #36

Triggered via push January 20, 2025 15:08
Status Failure
Total duration 25s
Artifacts

ci.yml

on: push
Matrix: PHPUnit
Matrix: Psalm
Fit to window
Zoom out
Zoom in

Annotations

4 errors
MissingParamType: src/Gelf/Logger.php#L43
src/Gelf/Logger.php:43:33: MissingParamType: Parameter $message has no provided type (see https://psalm.dev/154)
RiskyTruthyFalsyComparison: src/Gelf/Message.php#L251
src/Gelf/Message.php:251:21: RiskyTruthyFalsyComparison: Operand of type float|mixed|null|string contains types float|mixed|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Gelf/Transport/HttpTransport.php#L99
src/Gelf/Transport/HttpTransport.php:99: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)
Psalm (PHP 8.2)
Process completed with exit code 2.