Update dependency phpstan/phpstan to v2 - autoclosed #207
Annotations
10 errors and 1 warning
InvalidArgument:
src/Controller/EventController.php#L56
src/Controller/EventController.php:56: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#L56
src/Controller/EventController.php:56: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#L69
src/Controller/EventController.php:69:71: UndefinedDocblockClass: Cannot get properties of undefined docblock class Patchlevel\EventSourcing\Metadata\Subscriber\SubscribeMethodMetadata (see https://psalm.dev/200)
|
MixedArgument:
src/Controller/EventController.php#L69
src/Controller/EventController.php:69: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#L78
src/Controller/EventController.php:78:67: UndefinedDocblockClass: Cannot get properties of undefined docblock class Patchlevel\EventSourcing\Metadata\Subscriber\SubscribeMethodMetadata (see https://psalm.dev/200)
|
MixedArgument:
src/Controller/EventController.php#L78
src/Controller/EventController.php:78:67: MixedArgument: Argument 3 of sprintf cannot be mixed, expecting float|int|object{__tostring()}|string (see https://psalm.dev/030)
|
MixedInferredReturnType:
src/Controller/EventController.php#L97
src/Controller/EventController.php:97: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#L99
src/Controller/EventController.php:99:13: UndefinedThisPropertyFetch: Instance property Patchlevel\EventSourcingAdminBundle\Controller\EventController::$traceProjector is not defined (see https://psalm.dev/041)
|
MixedAssignment:
src/Controller/EventController.php#L103
src/Controller/EventController.php:103:9: MixedAssignment: Unable to determine the type that $nodes is being assigned to (see https://psalm.dev/032)
|
MixedMethodCall:
src/Controller/EventController.php#L103
src/Controller/EventController.php:103:41: MixedMethodCall: Cannot determine the type of $this->traceProjector when calling method nodes (see https://psalm.dev/015)
|
Static Analysis by Psalm (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
|