Skip to content

Allow PHP 8.4 in laminas-cache-storage-adapter-redis 2.x #425

Allow PHP 8.4 in laminas-cache-storage-adapter-redis 2.x

Allow PHP 8.4 in laminas-cache-storage-adapter-redis 2.x #425

Triggered via pull request January 22, 2025 13:07
Status Failure
Total duration 3m 35s
Artifacts

continuous-integration.yml

on: pull_request
Generate job matrix
4s
Generate job matrix
Matrix: QA Checks
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 23 warnings
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)
Generate job matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636