Update test due to weird API change #317
Annotations
10 errors and 3 warnings
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)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, nick-invision/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
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