Update test due to weird API change #317
Annotations
11 errors and 1 warning
|
Run static analysis:
src/Body/FormBody.php#L203
src/Body/FormBody.php:203: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)
|
Run static analysis:
src/Connection/ConnectionLimitingPool.php#L243
src/Connection/ConnectionLimitingPool.php:243:21: RedundantCondition: Amp\Deferred<mixed> can never contain null (see https://psalm.dev/122)
|
Run static analysis:
src/Connection/Http1Connection.php#L222
src/Connection/Http1Connection.php:222:52: PossiblyInvalidArgument: Argument 1 of Amp\CancellationToken::subscribe expects callable(Amp\CancelledException), but possibly different type impure-callable():Amp\Promise provided (see https://psalm.dev/092)
|
Run static analysis:
src/Connection/Http1Connection.php#L397
src/Connection/Http1Connection.php:397:61: PossiblyInvalidArgument: Argument 1 of Amp\CombinedCancellationToken::subscribe expects callable(Amp\CancelledException), but possibly different type impure-callable():Amp\Promise provided (see https://psalm.dev/092)
|
Run static analysis:
src/Connection/Http1Connection.php#L458
src/Connection/Http1Connection.php:458:82: PossiblyInvalidArgument: Argument 2 of Amp\Loop::delay expects callable(string, mixed), but possibly different type impure-callable():Amp\Promise provided (see https://psalm.dev/092)
|
Run static analysis:
src/Connection/Internal/Http1Parser.php#L286
src/Connection/Internal/Http1Parser.php:286:13: RiskyTruthyFalsyComparison: Operand of type false|int<0, max> contains type int<0, max>, 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/Connection/Internal/Http1Parser.php#L311
src/Connection/Internal/Http1Parser.php:311:13: RiskyTruthyFalsyComparison: Operand of type false|int<0, max> contains type int<0, max>, 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/Connection/Internal/Http1Parser.php#L311
src/Connection/Internal/Http1Parser.php:311:49: RiskyTruthyFalsyComparison: Operand of type false|int<0, max> contains type int<0, max>, 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/Connection/Internal/Http2ConnectionProcessor.php#L311
src/Connection/Internal/Http2ConnectionProcessor.php:311:17: 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/Connection/Internal/Http2ConnectionProcessor.php#L640
src/Connection/Internal/Http2ConnectionProcessor.php:640:13: RiskyTruthyFalsyComparison: Operand of type false|int<0, max> contains type int<0, max>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Get Composer cache directory
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Loading