Fix implicitly nullable parameter declarations for PHP 8.4 #36
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.
|