Added support for PHP 8.3 to CI workflow (#95) #87
Annotations
23 errors and 1 warning
RiskyTruthyFalsyComparison:
src/Connection/Authenticator.php#L27
src/Connection/Authenticator.php:27:13: RiskyTruthyFalsyComparison: Operand of type int|list<mixed>|null|string contains types int|list<mixed>|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/Connection/DatabaseSelector.php#L27
src/Connection/DatabaseSelector.php:27:13: RiskyTruthyFalsyComparison: Operand of type int|list<mixed>|null|string contains types int|list<mixed>|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
InvalidIterator:
src/Protocol/RespParser.php#L54
src/Protocol/RespParser.php:54:30: InvalidIterator: Cannot iterate over Generator<int, int|string, string, Amp\Redis\Protocol\RedisResponse> (see https://psalm.dev/009)
|
InvalidIterator:
src/Protocol/RespParser.php#L66
src/Protocol/RespParser.php:66:50: InvalidIterator: Cannot iterate over Generator<int, int|string, string, Amp\Redis\Protocol\RedisResponse> (see https://psalm.dev/009)
|
InvalidIterator:
src/Protocol/RespParser.php#L67
src/Protocol/RespParser.php:67:44: InvalidIterator: Cannot iterate over Generator<int, int|string, string, Amp\Redis\Protocol\RedisResponse> (see https://psalm.dev/009)
|
InvalidIterator:
src/Protocol/RespParser.php#L111
src/Protocol/RespParser.php:111:38: InvalidIterator: Cannot iterate over Generator<int, int|string, string, Amp\Redis\Protocol\RedisResponse> (see https://psalm.dev/009)
|
RiskyTruthyFalsyComparison:
src/RedisConfig.php#L132
src/RedisConfig.php:132: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)
|
RiskyTruthyFalsyComparison:
src/RedisConfig.php#L133
src/RedisConfig.php:133: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)
|
RiskyTruthyFalsyComparison:
src/RedisSubscriber.php#L180
src/RedisSubscriber.php:180:29: RiskyTruthyFalsyComparison: Operand of type array<int, Amp\Pipeline\Queue>|null contains type array<int, Amp\Pipeline\Queue>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/RedisSubscriber.php#L209
src/RedisSubscriber.php:209:29: RiskyTruthyFalsyComparison: Operand of type array<int, Amp\Pipeline\Queue>|null contains type array<int, Amp\Pipeline\Queue>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
PHP 8.2
The job was canceled because "ubuntu-latest_8_3" failed.
|
RiskyTruthyFalsyComparison:
src/Connection/Authenticator.php#L27
src/Connection/Authenticator.php:27:13: RiskyTruthyFalsyComparison: Operand of type int|list<mixed>|null|string contains types int|list<mixed>|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/Connection/DatabaseSelector.php#L27
src/Connection/DatabaseSelector.php:27:13: RiskyTruthyFalsyComparison: Operand of type int|list<mixed>|null|string contains types int|list<mixed>|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
InvalidIterator:
src/Protocol/RespParser.php#L54
src/Protocol/RespParser.php:54:30: InvalidIterator: Cannot iterate over Generator<int, int|string, string, Amp\Redis\Protocol\RedisResponse> (see https://psalm.dev/009)
|
InvalidIterator:
src/Protocol/RespParser.php#L66
src/Protocol/RespParser.php:66:50: InvalidIterator: Cannot iterate over Generator<int, int|string, string, Amp\Redis\Protocol\RedisResponse> (see https://psalm.dev/009)
|
InvalidIterator:
src/Protocol/RespParser.php#L67
src/Protocol/RespParser.php:67:44: InvalidIterator: Cannot iterate over Generator<int, int|string, string, Amp\Redis\Protocol\RedisResponse> (see https://psalm.dev/009)
|
InvalidIterator:
src/Protocol/RespParser.php#L111
src/Protocol/RespParser.php:111:38: InvalidIterator: Cannot iterate over Generator<int, int|string, string, Amp\Redis\Protocol\RedisResponse> (see https://psalm.dev/009)
|
RiskyTruthyFalsyComparison:
src/RedisConfig.php#L132
src/RedisConfig.php:132: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)
|
RiskyTruthyFalsyComparison:
src/RedisConfig.php#L133
src/RedisConfig.php:133: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)
|
RiskyTruthyFalsyComparison:
src/RedisSubscriber.php#L180
src/RedisSubscriber.php:180:29: RiskyTruthyFalsyComparison: Operand of type array<int, Amp\Pipeline\Queue>|null contains type array<int, Amp\Pipeline\Queue>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/RedisSubscriber.php#L209
src/RedisSubscriber.php:209:29: RiskyTruthyFalsyComparison: Operand of type array<int, Amp\Pipeline\Queue>|null contains type array<int, Amp\Pipeline\Queue>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
PHP 8.1
The job was canceled because "ubuntu-latest_8_3" failed.
|
PHP 8.1
The operation was canceled.
|
PHP 8.3
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, nick-invision/retry@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|