Add command bus, Drop PHP 8.1 #4973
Annotations
10 errors and 1 warning
psalm:
src/CommandBus/ChainHandlerProvider.php#L27
src/CommandBus/ChainHandlerProvider.php:27:20: InvalidOperand: Cannot use spread operator on iterable with key type mixed (see https://psalm.dev/058)
|
psalm:
src/CommandBus/ServiceHandlerProvider.php#L40
src/CommandBus/ServiceHandlerProvider.php:40:25: MixedMethodCall: Cannot call method on an unknown class (see https://psalm.dev/015)
|
psalm:
src/CommandBus/ServiceHandlerProvider.php#L40
src/CommandBus/ServiceHandlerProvider.php:40:25: MixedArgument: Argument 1 of Patchlevel\EventSourcing\CommandBus\HandlerDescriptor::__construct cannot be mixed, expecting callable (see https://psalm.dev/030)
|
psalm:
src/CommandBus/ServiceHandlerProvider.php#L47
src/CommandBus/ServiceHandlerProvider.php:47:32: MixedMethodCall: Cannot determine the type of $service (see https://psalm.dev/015)
|
psalm:
tests/Unit/CommandBus/Handler/CreateAggregateHandlerTest.php#L20
tests/Unit/CommandBus/Handler/CreateAggregateHandlerTest.php:20:1: ClassNotFinal: CreateAggregateHandlerTest has not been marked as final nor is marked for inheritance.
|
psalm:
tests/Unit/CommandBus/Handler/CreateAggregateHandlerTest.php#L69
tests/Unit/CommandBus/Handler/CreateAggregateHandlerTest.php:69:13: InvalidArgument: Argument 2 of Patchlevel\EventSourcing\CommandBus\Handler\CreateAggregateHandler::__construct expects class-string<Patchlevel\EventSourcing\Aggregate\AggregateRoot>, but class-string<Patchlevel\EventSourcing\Tests\Unit\CommandBus\Handler\_home_runner_work_event_sourcing_event_sourcing_tests_Unit_CommandBus_Handler_CreateAggregateHandlerTest_php_52_1684> provided (see https://psalm.dev/004)
|
psalm:
tests/Unit/CommandBus/Handler/DefaultParameterResolverTest.php#L33
tests/Unit/CommandBus/Handler/DefaultParameterResolverTest.php:33:16: InvalidOperand: Cannot use spread operator on iterable with key type mixed (see https://psalm.dev/058)
|
psalm:
tests/Unit/CommandBus/Handler/DefaultParameterResolverTest.php#L55
tests/Unit/CommandBus/Handler/DefaultParameterResolverTest.php:55:16: InvalidOperand: Cannot use spread operator on iterable with key type mixed (see https://psalm.dev/058)
|
psalm:
tests/Unit/CommandBus/Handler/DefaultParameterResolverTest.php#L61
tests/Unit/CommandBus/Handler/DefaultParameterResolverTest.php:61:15: TypeDoesNotContainType: Cannot resolve types for $result - array<never, never> does not contain list{stdClass} (see https://psalm.dev/056)
|
psalm:
tests/Unit/CommandBus/Handler/DefaultParameterResolverTest.php#L69
tests/Unit/CommandBus/Handler/DefaultParameterResolverTest.php:69:55: MissingParamType: Parameter $foo has no provided type (see https://psalm.dev/154)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading