Skip to content

command bus

command bus #4801

Triggered via pull request December 9, 2024 12:09
Status Failure
Total duration 39s
Artifacts

phpstan.yml

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

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