Skip to content

Fix proposal 355

Fix proposal 355 #743

Triggered via pull request January 14, 2025 15:53
Status Failure
Total duration 1m 2s
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

8 errors and 21 warnings
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...: test/Pattern/TestAsset/TestObjectCache.php#L25
Class \Closure should not be referenced via a fully qualified name, but via a use statement.
InvalidArrayAccess: src/Pattern/CallbackCache.php#L118
src/Pattern/CallbackCache.php:118:77: InvalidArrayAccess: Cannot access array value on non-array variable $callback of type callable (see https://psalm.dev/005)
MixedArgument: src/Pattern/CallbackCache.php#L118
src/Pattern/CallbackCache.php:118:77: MixedArgument: Argument 1 of strtolower cannot be mixed, expecting string (see https://psalm.dev/030)
UnusedProperty: test/Pattern/TestAsset/TestObjectCache.php#L25
test/Pattern/TestAsset/TestObjectCache.php:25:22: UnusedProperty: Cannot find any references to private property LaminasTest\Cache\Pattern\TestAsset\TestObjectCache::$closure (see https://psalm.dev/150)
MissingClosureReturnType: test/Pattern/TestAsset/TestObjectCache.php#L30
test/Pattern/TestAsset/TestObjectCache.php:30:26: MissingClosureReturnType: Closure does not have a return type, expecting void (see https://psalm.dev/068)
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