Skip to content

command bus

command bus #4892

Triggered via pull request December 21, 2024 09:52
Status Failure
Total duration 55s
Artifacts

psalm.yml

on: pull_request
Matrix: Static Analysis by Psalm
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
InvalidOperand: src/CommandBus/Handler/CreateAggregateHandler.php#L32
src/CommandBus/Handler/CreateAggregateHandler.php:32:17: InvalidOperand: Cannot use spread operator on iterable with key type mixed (see https://psalm.dev/058)
InvalidOperand: src/CommandBus/Handler/UpdateAggregateHandler.php#L37
src/CommandBus/Handler/UpdateAggregateHandler.php:37:17: InvalidOperand: Cannot use spread operator on iterable with key type mixed (see https://psalm.dev/058)
InvalidArrayAccess: tests/Unit/CommandBus/AggregateHandlerProviderTest.php#L157
tests/Unit/CommandBus/AggregateHandlerProviderTest.php:157:36: InvalidArrayAccess: Cannot access array value on non-array variable $result of type iterable<mixed, Patchlevel\EventSourcing\CommandBus\HandlerDescriptor> (see https://psalm.dev/005)
MixedMethodCall: tests/Unit/CommandBus/AggregateHandlerProviderTest.php#L157
tests/Unit/CommandBus/AggregateHandlerProviderTest.php:157:48: MixedMethodCall: Cannot determine the type of $result[0] when calling method callable (see https://psalm.dev/015)
Static Analysis by Psalm (locked, 8.3, ubuntu-latest)
Process completed with exit code 2.
Static Analysis by Psalm (locked, 8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636