Skip to content

Update dependency php to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 #183

Update dependency php to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

Update dependency php to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 #183

Triggered via push November 25, 2024 17:15
Status Failure
Total duration 44s
Artifacts

psalm.yml

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

Annotations

10 errors
InvalidArgument: src/Controller/EventController.php#L57
src/Controller/EventController.php:57:13: InvalidArgument: Argument 2 of array_map expects array<array-key, mixed>, but iterable<mixed, Patchlevel\EventSourcing\EventBus\ListenerDescriptor> provided (see https://psalm.dev/004)
ArgumentTypeCoercion: src/Controller/EventController.php#L57
src/Controller/EventController.php:57:56: ArgumentTypeCoercion: Argument 1 of Patchlevel\EventSourcing\EventBus\ListenerProvider::listenersForEvent expects class-string, but parent type string provided (see https://psalm.dev/193)
UndefinedDocblockClass: src/Controller/EventController.php#L70
src/Controller/EventController.php:70:71: UndefinedDocblockClass: Cannot get properties of undefined docblock class Patchlevel\EventSourcing\Metadata\Subscriber\SubscribeMethodMetadata (see https://psalm.dev/200)
MixedArgument: src/Controller/EventController.php#L70
src/Controller/EventController.php:70:71: MixedArgument: Argument 3 of sprintf cannot be mixed, expecting float|int|object{__tostring()}|string (see https://psalm.dev/030)
UndefinedDocblockClass: src/Controller/EventController.php#L76
src/Controller/EventController.php:76:71: UndefinedDocblockClass: Cannot get properties of undefined docblock class Patchlevel\EventSourcing\Metadata\Subscriber\SubscribeMethodMetadata (see https://psalm.dev/200)
MixedArgument: src/Controller/EventController.php#L76
src/Controller/EventController.php:76:71: MixedArgument: Argument 3 of sprintf cannot be mixed, expecting float|int|object{__tostring()}|string (see https://psalm.dev/030)
MixedInferredReturnType: src/Controller/EventController.php#L99
src/Controller/EventController.php:99:64: MixedInferredReturnType: Could not verify return type 'Patchlevel\EventSourcingAdminBundle\Projection\Node|null' for Patchlevel\EventSourcingAdminBundle\Controller\EventController::findNodeByEventClass (see https://psalm.dev/047)
UndefinedThisPropertyFetch: src/Controller/EventController.php#L101
src/Controller/EventController.php:101:13: UndefinedThisPropertyFetch: Instance property Patchlevel\EventSourcingAdminBundle\Controller\EventController::$traceProjector is not defined (see https://psalm.dev/041)
MixedAssignment: src/Controller/EventController.php#L105
src/Controller/EventController.php:105:9: MixedAssignment: Unable to determine the type that $nodes is being assigned to (see https://psalm.dev/032)
MixedMethodCall: src/Controller/EventController.php#L105
src/Controller/EventController.php:105:41: MixedMethodCall: Cannot determine the type of $this->traceProjector when calling method nodes (see https://psalm.dev/015)