Skip to content

finish event ui

finish event ui #5

Triggered via push January 30, 2024 13:20
Status Failure
Total duration 27s
Artifacts

psalm.yml

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

Annotations

10 errors and 1 warning
InvalidArgument: src/Controller/EventController.php#L37
src/Controller/EventController.php:37:21: InvalidArgument: Argument 2 of array_map expects array<array-key, mixed>, but iterable<mixed, Patchlevel\EventSourcing\EventBus\ListenerDescriptor> provided (see https://psalm.dev/004)
InvalidArgument: src/Controller/EventController.php#L37
src/Controller/EventController.php:37:64: InvalidArgument: Argument 1 of Patchlevel\EventSourcing\EventBus\ListenerProvider::listenersForEvent expects object, but class-string provided (see https://psalm.dev/004)
MixedAssignment: src/Controller/InspectionController.php#L48
src/Controller/InspectionController.php:48:13: MixedAssignment: Unable to determine the type that $aggregateName is being assigned to (see https://psalm.dev/032)
InternalMethod: src/Controller/InspectionController.php#L48
src/Controller/InspectionController.php:48:40: InternalMethod: The method Symfony\Component\HttpFoundation\Request::get is internal to Symfony but called from Patchlevel\EventSourcingAdminBundle\Controller\InspectionController::indexAction (see https://psalm.dev/175)
MixedAssignment: src/Controller/InspectionController.php#L49
src/Controller/InspectionController.php:49:13: MixedAssignment: Unable to determine the type that $aggregateId is being assigned to (see https://psalm.dev/032)
InternalMethod: src/Controller/InspectionController.php#L49
src/Controller/InspectionController.php:49:38: InternalMethod: The method Symfony\Component\HttpFoundation\Request::get is internal to Symfony but called from Patchlevel\EventSourcingAdminBundle\Controller\InspectionController::indexAction (see https://psalm.dev/175)
RiskyTruthyFalsyComparison: src/Controller/StoreController.php#L56
src/Controller/StoreController.php:56:29: RiskyTruthyFalsyComparison: Operand of type null|scalar contains type scalar, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
ArgumentTypeCoercion: src/Controller/StoreController.php#L56
src/Controller/StoreController.php:56:91: ArgumentTypeCoercion: Argument 1 of Patchlevel\EventSourcing\Metadata\AggregateRoot\AggregateRootRegistry::aggregateClass expects string, but parent type non-empty-scalar provided (see https://psalm.dev/193)
RiskyTruthyFalsyComparison: src/Controller/StoreController.php#L57
src/Controller/StoreController.php:57:26: RiskyTruthyFalsyComparison: Operand of type null|scalar contains type scalar, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
ArgumentTypeCoercion: src/Controller/StoreController.php#L57
src/Controller/StoreController.php:57:26: ArgumentTypeCoercion: Argument 2 of Patchlevel\EventSourcing\Store\Criteria::__construct expects null|string, but parent type non-empty-scalar|null provided (see https://psalm.dev/193)
Static Analysis by Psalm (locked, 8.3, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.