Skip to content

Allow PHP 8.4 in laminas-cache-storage-adapter-memcached 2.x #171

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

Allow PHP 8.4 in laminas-cache-storage-adapter-memcached 2.x #171

Triggered via pull request January 22, 2025 13:25
Status Failure
Total duration 1m 28s
Artifacts

continuous-integration.yml

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

Annotations

10 errors and 16 warnings
RiskyTruthyFalsyComparison: benchmark/MemcachedStorageAdapterBench.php#L24
benchmark/MemcachedStorageAdapterBench.php:24:17: 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: benchmark/MemcachedStorageAdapterBench.php#L25
benchmark/MemcachedStorageAdapterBench.php:25:17: 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)
MixedArgumentTypeCoercion: src/Memcached.php#L99
src/Memcached.php:99:45: MixedArgumentTypeCoercion: Argument 1 of Laminas\Cache\Storage\Adapter\MemcachedOptions::__construct expects Laminas\Stdlib\AbstractOptions<mixed>|iterable<string, mixed>|null, but parent type iterable<array-key|mixed, mixed> provided (see https://psalm.dev/194)
RiskyTruthyFalsyComparison: src/Memcached.php#L193
src/Memcached.php:193:29: RiskyTruthyFalsyComparison: Operand of type false|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Memcached.php#L194
src/Memcached.php:194:29: RiskyTruthyFalsyComparison: Operand of type false|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/MemcachedResourceManager.php#L104
src/MemcachedResourceManager.php:104: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/MemcachedResourceManager.php#L120
src/MemcachedResourceManager.php:120: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: test/integration/Psr/CacheItemPool/MemcachedIntegrationTest.php#L54
test/integration/Psr/CacheItemPool/MemcachedIntegrationTest.php:54: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/Psr/CacheItemPool/MemcachedIntegrationTest.php#L54
test/integration/Psr/CacheItemPool/MemcachedIntegrationTest.php:54:22: 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/Psr/CacheItemPool/MemcachedIntegrationTest.php#L56
test/integration/Psr/CacheItemPool/MemcachedIntegrationTest.php:56: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)
Generate job matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636