Capsule 3.0 #10
Annotations
10 errors
Run static analysis:
src/Factory/ServerRequestFactory.php#L91
src/Factory/ServerRequestFactory.php:91:4: RiskyTruthyFalsyComparison: Operand of type false|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)
|
Run static analysis:
src/Factory/ServerRequestFactory.php#L100
src/Factory/ServerRequestFactory.php:100:7: RiskyTruthyFalsyComparison: Operand of type false|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)
|
Run static analysis:
src/Factory/UriFactory.php#L39
src/Factory/UriFactory.php:39:5: 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)
|
Run static analysis:
src/Factory/UriFactory.php#L40
src/Factory/UriFactory.php:40:5: 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)
|
Run static analysis:
src/Factory/UriFactory.php#L42
src/Factory/UriFactory.php:42:5: RiskyTruthyFalsyComparison: Operand of type int|null contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run static analysis:
src/MessageAbstract.php#L234
src/MessageAbstract.php:234:8: 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)
|
Run static analysis:
src/MessageAbstract.php#L238
src/MessageAbstract.php:238:7: RiskyTruthyFalsyComparison: Operand of type int|null contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run static analysis:
src/Request.php#L117
src/Request.php:117:8: 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)
|
Run static analysis:
src/Response.php#L31
src/Response.php:31:25: 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)
|
Run static analysis:
src/Stream/BufferStream.php#L183
src/Stream/BufferStream.php:183:7: 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)
|
Loading