Lock file maintenance #300
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#L261
src/RedisResourceManager.php:261: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#L269
src/RedisResourceManager.php:269: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#L288
src/RedisResourceManager.php:288:15: 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#L316
src/RedisResourceManager.php:316:15: 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#L372
src/RedisResourceManager.php:372:17: 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#L372
src/RedisResourceManager.php:372:38: 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)
|