Update test due to weird API change #317
Annotations
29 errors and 7 warnings
RiskyTruthyFalsyComparison:
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)
|
RedundantCondition:
src/Connection/ConnectionLimitingPool.php#L243
src/Connection/ConnectionLimitingPool.php:243:21: RedundantCondition: Amp\Deferred<mixed> can never contain null (see https://psalm.dev/122)
|
PossiblyInvalidArgument:
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)
|
PossiblyInvalidArgument:
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)
|
PossiblyInvalidArgument:
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)
|
RiskyTruthyFalsyComparison:
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)
|
RiskyTruthyFalsyComparison:
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)
|
RiskyTruthyFalsyComparison:
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)
|
RiskyTruthyFalsyComparison:
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)
|
RiskyTruthyFalsyComparison:
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)
|
PHP 7.4 on macOS
The job was canceled because "ubuntu-latest_7_4_2_1_0" failed.
|
PHP 7.4 on macOS
The operation was canceled.
|
PHP 7.3
The job was canceled because "ubuntu-latest_7_4_2_1_0" failed.
|
PHP 7.3
The operation was canceled.
|
PHP 8.0
The job was canceled because "ubuntu-latest_7_4_2_1_0" failed.
|
RiskyTruthyFalsyComparison:
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)
|
RedundantCondition:
src/Connection/ConnectionLimitingPool.php#L243
src/Connection/ConnectionLimitingPool.php:243:21: RedundantCondition: Amp\Deferred<mixed> can never contain null (see https://psalm.dev/122)
|
PossiblyInvalidArgument:
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)
|
PossiblyInvalidArgument:
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)
|
PossiblyInvalidArgument:
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)
|
RiskyTruthyFalsyComparison:
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)
|
RiskyTruthyFalsyComparison:
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)
|
RiskyTruthyFalsyComparison:
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)
|
RiskyTruthyFalsyComparison:
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)
|
RiskyTruthyFalsyComparison:
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)
|
PHP 7.4 on Windows
The job was canceled because "ubuntu-latest_7_4_2_1_0" failed.
|
PHP 7.4 on Windows
The operation was canceled.
|
PHP 7.2
The job was canceled because "ubuntu-latest_7_4_2_1_0" failed.
|
PHP 7.2
The operation was canceled.
|
PHP 7.4
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/.
|
PHP 7.4
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/
|
PHP 7.4
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/
|
PHP 7.3
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/
|
PHP 8.0
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/
|
PHP 7.4 on Windows
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/
|
PHP 7.2
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/
|