command bus #4801
Annotations
5 errors and 1 warning
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
src/CommandBus/AggregateHandlerProvider.php#L96
Method Patchlevel\EventSourcing\CommandBus\AggregateHandlerProvider::handleClass() should return class-string but returns string.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
src/CommandBus/Handler/CreateAggregateHandler.php#L38
Parameter #1 $aggregate of method Patchlevel\EventSourcing\Repository\Repository<Patchlevel\EventSourcing\Aggregate\AggregateRoot>::save() expects Patchlevel\EventSourcing\Aggregate\AggregateRoot, mixed given.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
src/CommandBus/Handler/ParameterResolver.php#L32
Cannot call method getName() on ReflectionType|null.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
src/CommandBus/Handler/UpdateAggregateHandler.php#L57
Method Patchlevel\EventSourcing\CommandBus\Handler\UpdateAggregateHandler::aggregateRootId() should return Patchlevel\EventSourcing\Aggregate\AggregateRootId but returns mixed.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest)
Process completed with exit code 1.
|
Static Analysis by PHPStan (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
|