Skip to content

Allow PHP 8.4 in laminas-cache-storage-adapter-filesystem 2.x #442

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

Allow PHP 8.4 in laminas-cache-storage-adapter-filesystem 2.x #442

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

continuous-integration.yml

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

Annotations

10 errors and 16 warnings
RiskyTruthyFalsyComparison: src/Filesystem.php#L1348
src/Filesystem.php:1348:13: RiskyTruthyFalsyComparison: Operand of type false|list<non-empty-string> contains type list<non-empty-string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Filesystem/LocalFilesystemInteraction.php#L87
src/Filesystem/LocalFilesystemInteraction.php:87:17: 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/Filesystem/LocalFilesystemInteraction.php#L144
src/Filesystem/LocalFilesystemInteraction.php:144:17: 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/Filesystem/LocalFilesystemInteraction.php#L350
src/Filesystem/LocalFilesystemInteraction.php:350: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/Filesystem/LocalFilesystemInteraction.php#L357
src/Filesystem/LocalFilesystemInteraction.php:357: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)
MixedArgumentTypeCoercion: src/FilesystemOptions.php#L115
src/FilesystemOptions.php:115: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, mixed>|null provided (see https://psalm.dev/194)
RiskyTruthyFalsyComparison: test/integration/Psr/SimpleCache/FilesystemIntegrationTest.php#L68
test/integration/Psr/SimpleCache/FilesystemIntegrationTest.php:68: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/SimpleCache/FilesystemIntegrationTest.php#L76
test/integration/Psr/SimpleCache/FilesystemIntegrationTest.php:76: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/unit/FilesystemTest.php#L50
test/unit/FilesystemTest.php:50: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/unit/FilesystemTest.php#L57
test/unit/FilesystemTest.php:57: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)
ci / Generate job matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636