Skip to content

Update Laminas packages (major) #374

Update Laminas packages (major)

Update Laminas packages (major) #374

Triggered via pull request December 23, 2024 04:28
Status Failure
Total duration 7m 33s
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

10 errors and 11 warnings
MissingTemplateParam: test/integration/Psr/CacheItemPool/ApcuIntegrationTest.php#L15
test/integration/Psr/CacheItemPool/ApcuIntegrationTest.php:15:13: MissingTemplateParam: LaminasTest\Cache\Storage\Adapter\Psr\CacheItemPool\ApcuIntegrationTest has missing template params when extending LaminasTest\Cache\Storage\Adapter\AbstractCacheItemPoolIntegrationTest, expecting 1 (see https://psalm.dev/182)
MethodSignatureMismatch: test/integration/Psr/CacheItemPool/ApcuIntegrationTest.php#L43
test/integration/Psr/CacheItemPool/ApcuIntegrationTest.php:43:5: MethodSignatureMismatch: Method LaminasTest\Cache\Storage\Adapter\Psr\CacheItemPool\ApcuIntegrationTest::createStorage with return type 'Laminas\Cache\Storage\StorageInterface' is different to return type 'Laminas\Cache\Storage\FlushableInterface&Laminas\Cache\Storage\StorageInterface' of inherited method LaminasTest\Cache\Storage\Adapter\AbstractCacheItemPoolIntegrationTest::createStorage (see https://psalm.dev/042)
InvalidReturnStatement: test/integration/Psr/CacheItemPool/ApcuIntegrationTest.php#L45
test/integration/Psr/CacheItemPool/ApcuIntegrationTest.php:45:16: InvalidReturnStatement: The inferred type 'Laminas\Cache\Storage\Adapter\Apcu' does not match the declared return type 'Laminas\Cache\Storage\StorageInterface<Laminas\Cache\Storage\Adapter\AdapterOptions>&Laminas\Cache\Storage\FlushableInterface' for LaminasTest\Cache\Storage\Adapter\Psr\CacheItemPool\ApcuIntegrationTest::createStorage (see https://psalm.dev/128)
InvalidTemplateParam: test/unit/ApcuTest.php#L15
test/unit/ApcuTest.php:15:13: InvalidTemplateParam: Extended template param TOptions expects type Laminas\Cache\Storage\Adapter\AdapterOptions, type Laminas\Cache\Storage\Adapter\Apcu given (see https://psalm.dev/183)
InvalidTemplateParam: test/unit/ApcuTest.php#L15
test/unit/ApcuTest.php:15:13: InvalidTemplateParam: Extended template param TStorage expects type Laminas\Cache\Storage\StorageInterface<TOptions:LaminasTest\Cache\Storage\Adapter\AbstractCommonAdapterTest as Laminas\Cache\Storage\Adapter\AdapterOptions>, type Laminas\Cache\Storage\Adapter\ApcuOptions given (see https://psalm.dev/183)
InvalidPropertyAssignmentValue: test/unit/ApcuTest.php#L28
test/unit/ApcuTest.php:28:26: InvalidPropertyAssignmentValue: $this->options with declared type 'Laminas\Cache\Storage\Adapter\Apcu' cannot be assigned type 'Laminas\Cache\Storage\Adapter\ApcuOptions' (see https://psalm.dev/145)
InvalidPropertyAssignmentValue: test/unit/ApcuTest.php#L29
test/unit/ApcuTest.php:29:26: InvalidPropertyAssignmentValue: $this->storage with declared type 'Laminas\Cache\Storage\Adapter\ApcuOptions' cannot be assigned type 'Laminas\Cache\Storage\Adapter\Apcu' (see https://psalm.dev/145)
MixedAssignment: test/unit/ApcuTest.php#L37
test/unit/ApcuTest.php:37:9: MixedAssignment: Unable to determine the type that $options is being assigned to (see https://psalm.dev/032)
UndefinedMethod: test/unit/ApcuTest.php#L37
test/unit/ApcuTest.php:37:36: UndefinedMethod: Method Laminas\Cache\Storage\Adapter\ApcuOptions::getOptions does not exist (see https://psalm.dev/022)
MixedMethodCall: test/unit/ApcuTest.php#L38
test/unit/ApcuTest.php:38:19: MixedMethodCall: Cannot determine the type of $options when calling method setNamespace (see https://psalm.dev/015)
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