Lock file maintenance #277
continuous-integration.yml
on: pull_request
Generate job matrix
9s
Matrix: QA Checks
Annotations
10 errors
MixedArgumentTypeCoercion:
src/Redis.php#L108
src/Redis.php:108:41: MixedArgumentTypeCoercion: Argument 1 of Laminas\Cache\Storage\Adapter\RedisOptions::__construct expects Laminas\Stdlib\AbstractOptions<mixed>|iterable<string, mixed>|null, but parent type iterable<mixed, mixed> provided (see https://psalm.dev/194)
|
RiskyTruthyFalsyComparison:
src/Redis.php#L267
src/Redis.php:267:13: RiskyTruthyFalsyComparison: Operand of type Redis|array<array-key, mixed>|bool contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/Redis.php#L299
src/Redis.php:299:21: RiskyTruthyFalsyComparison: Operand of type Redis|array<array-key, mixed>|bool contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
MixedArgumentTypeCoercion:
src/RedisClusterOptions.php#L73
src/RedisClusterOptions.php:73:29: MixedArgumentTypeCoercion: Argument 1 of Laminas\Cache\Storage\Adapter\AdapterOptions::__construct expects (Laminas\Stdlib\AbstractOptions<TValue:Laminas\Stdlib\AbstractOptions as mixed>)|(iterable<string, TValue:Laminas\Stdlib\AbstractOptions as mixed>)|null, but parent type iterable<array-key, mixed>|null provided (see https://psalm.dev/194)
|
RiskyTruthyFalsyComparison:
src/RedisResourceManager.php#L233
src/RedisResourceManager.php:233:17: RiskyTruthyFalsyComparison: Operand of type array{fragment?: string, host?: string, pass?: string, path?: string, port?: int, query?: string, scheme?: string, user?: string}|false contains type array{fragment?: string, host?: string, pass?: string, path?: string, port?: int, query?: string, scheme?: string, user?: string}, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/RedisResourceManager.php#L241
src/RedisResourceManager.php:241: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/RedisResourceManager.php#L630
src/RedisResourceManager.php:630:19: 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:
test/integration/Laminas/RedisTest.php#L36
test/integration/Laminas/RedisTest.php:36:13: RiskyTruthyFalsyComparison: Operand of type false|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:
test/integration/Laminas/RedisTest.php#L36
test/integration/Laminas/RedisTest.php:36:57: RiskyTruthyFalsyComparison: Operand of type false|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:
test/integration/Laminas/RedisTest.php#L38
test/integration/Laminas/RedisTest.php:38:19: RiskyTruthyFalsyComparison: Operand of type false|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)
|