Add support of HTTP/3.0 #131
Annotations
11 errors
|
Psalm static analysis.:
src/RequestTrait.php#L145
src/RequestTrait.php:145:18: TypeDoesNotContainType: Type never for $method is never object (see https://psalm.dev/056)
|
Psalm static analysis.:
src/RequestTrait.php#L145
src/RequestTrait.php:145:49: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
|
Psalm static analysis.:
src/RequestTrait.php#L145
src/RequestTrait.php:145:60: RedundantCondition: Type never for $method is never object (see https://psalm.dev/122)
|
Psalm static analysis.:
src/RequestTrait.php#L260
src/RequestTrait.php:260:14: TypeDoesNotContainType: Type never for $uri is never object (see https://psalm.dev/056)
|
Psalm static analysis.:
src/RequestTrait.php#L260
src/RequestTrait.php:260:42: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
|
Psalm static analysis.:
src/RequestTrait.php#L260
src/RequestTrait.php:260:50: RedundantCondition: Type never for $uri is never object (see https://psalm.dev/122)
|
Psalm static analysis.:
src/RequestTrait.php#L277
src/RequestTrait.php:277:13: 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)
|
Psalm static analysis.:
src/ResponseTrait.php#L161
src/ResponseTrait.php:161:27: InvalidCast: never cannot be cast to int (see https://psalm.dev/103)
|
Psalm static analysis.:
src/StreamTrait.php#L181
src/StreamTrait.php:181:54: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|mixed|null contains types array<array-key, mixed>|mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Psalm static analysis.:
src/StreamTrait.php#L370
src/StreamTrait.php:370:20: 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