Skip to content

Allow PHP 8.4 in laminas-cache 3.x #737

Allow PHP 8.4 in laminas-cache 3.x

Allow PHP 8.4 in laminas-cache 3.x #737

Triggered via pull request January 10, 2025 16:49
Status Failure
Total duration 1m 13s
Artifacts

continuous-integration.yml

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

Annotations

21 errors and 17 warnings
ci / QA Checks (Documentation Linting [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integra...: docs/book/index.md#L1
First line in a file should be a top-level heading [Context: "## Installation"]
ci / QA Checks (Documentation Linting [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integra...: docs/book/v2/storage/adapter.md#L102
Table column count [Expected: 4; Actual: 5; Too many cells, extra data will be missing]
ci / QA Checks (Documentation Linting [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integra...: docs/book/v2/storage/adapter.md#L723
Table column count [Expected: 4; Actual: 5; Too many cells, extra data will be missing]
ci / QA Checks (Documentation Linting [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integra...: docs/book/v2/storage/adapter.md#L888
Table column count [Expected: 4; Actual: 5; Too many cells, extra data will be missing]
ci / QA Checks (Documentation Linting [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integra...: docs/book/v2/storage/plugin.md#L81
Table column count [Expected: 4; Actual: 5; Too many cells, extra data will be missing]
ci / QA Checks (Documentation Linting [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integra...: docs/book/v2/storage/plugin.md#L121
Table column count [Expected: 4; Actual: 6; Too many cells, extra data will be missing]
ci / QA Checks (Backward Compatibility Check [@default, locked], ubuntu-latest, laminas/laminas-contin...
Your lock file does not contain a compatible set of packages. Please run composer update. Problem 1 - laminas/laminas-cache-storage-adapter-memory is locked to version 2.2.0 and an update of this package was not requested. - laminas/laminas-cache-storage-adapter-memory 2.2.0 requires laminas/laminas-cache ^3.0 -> found laminas/laminas-cache[4.2.x-dev] but it does not match the constraint. See https://getcomposer.org/dep-on-root for details and assistance. Problem 2 - laminas/laminas-cache-storage-adapter-apcu is locked to version 2.4.0 and an update of this package was not requested. - laminas/laminas-cache-storage-adapter-apcu 2.4.0 requires laminas/laminas-cache ^3.0 -> found laminas/laminas-cache[4.2.x-dev] but it does not match the constraint. See https://getcomposer.org/dep-on-root for details and assistance. Problem 3 - laminas/laminas-cache-storage-adapter-blackhole is locked to version 2.3.0 and an update of this package was not requested. - laminas/laminas-cache-storage-adapter-blackhole 2.3.0 requires laminas/laminas-cache ^3.0 -> found laminas/laminas-cache[4.2.x-dev] but it does not match the constraint. See https://getcomposer.org/dep-on-root for details and assistance. Problem 4 - laminas/laminas-cache-storage-adapter-filesystem is locked to version 2.3.0 and an update of this package was not requested. - laminas/laminas-cache-storage-adapter-filesystem 2.3.0 requires laminas/laminas-cache ^3.0 -> found laminas/laminas-cache[4.2.x-dev] but it does not match the constraint. See https://getcomposer.org/dep-on-root for details and assistance. Problem 5 - laminas/laminas-cache-storage-adapter-test is locked to version 2.4.0 and an update of this package was not requested. - laminas/laminas-cache-storage-adapter-test 2.4.0 requires laminas/laminas-cache ^3.1 -> found laminas/laminas-cache[4.2.x-dev] but it does not match the constraint. See https://getcomposer.org/dep-on-root for details and assistance.
RiskyTruthyFalsyComparison: src/Pattern/CaptureCache.php#L272
src/Pattern/CaptureCache.php:272:13: RiskyTruthyFalsyComparison: Operand of type false|int contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
NoValue: src/Pattern/CaptureCache.php#L329
src/Pattern/CaptureCache.php:329:55: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
NoValue: src/Pattern/CaptureCache.php#L330
src/Pattern/CaptureCache.php:330:31: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
MissingTemplateParam: src/Pattern/PatternOptions.php#L28
src/Pattern/PatternOptions.php:28:7: MissingTemplateParam: Laminas\Cache\Pattern\PatternOptions has missing template params when extending Laminas\Stdlib\AbstractOptions, expecting 1 (see https://psalm.dev/182)
MixedArgumentTypeCoercion: src/Pattern/PatternOptions.php#L149
src/Pattern/PatternOptions.php:149:29: MixedArgumentTypeCoercion: Argument 1 of Laminas\Stdlib\AbstractOptions::__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: src/Storage/Adapter/AbstractAdapter.php#L81
src/Storage/Adapter/AbstractAdapter.php:81:13: RiskyTruthyFalsyComparison: Operand of type Laminas\Cache\Storage\Adapter\AdapterOptions|iterable<array-key|mixed, mixed>|null contains type iterable<array-key|mixed, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
MixedArgumentTypeCoercion: src/Storage/Adapter/AbstractAdapter.php#L122
src/Storage/Adapter/AbstractAdapter.php:122:47: MixedArgumentTypeCoercion: Argument 1 of Laminas\Cache\Storage\Adapter\AdapterOptions::__construct expects Laminas\Stdlib\AbstractOptions<mixed>|iterable<string, mixed>|null, but parent type iterable<array-key|mixed, mixed> provided (see https://psalm.dev/194)
InvalidArgument: src/Storage/Adapter/AbstractAdapter.php#L344
src/Storage/Adapter/AbstractAdapter.php:344:56: InvalidArgument: Argument 2 of Laminas\Cache\Storage\Adapter\AbstractAdapter::triggerPre expects ArrayObject<array-key, mixed>, but ArrayObject<'key', string> provided (see https://psalm.dev/004)
InvalidArgument: src/Storage/Adapter/AbstractAdapter.php#L356
src/Storage/Adapter/AbstractAdapter.php:356:53: InvalidArgument: Argument 2 of Laminas\Cache\Storage\Adapter\AbstractAdapter::triggerPost expects ArrayObject<array-key, mixed>, but ArrayObject<'key', string> provided (see https://psalm.dev/004)
InvalidArgument: src/Storage/Adapter/AbstractAdapter.php#L360
src/Storage/Adapter/AbstractAdapter.php:360:58: InvalidArgument: Argument 2 of Laminas\Cache\Storage\Adapter\AbstractAdapter::triggerException expects ArrayObject<array-key, mixed>, but ArrayObject<'key', string> provided (see https://psalm.dev/004)
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