Fix most SA errors, remove Trace feature, fix Header usage #216
Annotations
9 errors and 1 warning
psalm:
src/Controller/EventController.php#L60
src/Controller/EventController.php:60: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)
|
psalm:
src/Controller/EventController.php#L74
src/Controller/EventController.php:74:71: UndefinedDocblockClass: Cannot get properties of undefined docblock class Patchlevel\EventSourcing\Metadata\Subscriber\SubscribeMethodMetadata (see https://psalm.dev/200)
|
psalm:
src/Controller/EventController.php#L74
src/Controller/EventController.php:74:71: MixedArgument: Argument 3 of sprintf cannot be mixed, expecting float|int|object{__tostring()}|string (see https://psalm.dev/030)
|
psalm:
src/Controller/EventController.php#L83
src/Controller/EventController.php:83:67: UndefinedDocblockClass: Cannot get properties of undefined docblock class Patchlevel\EventSourcing\Metadata\Subscriber\SubscribeMethodMetadata (see https://psalm.dev/200)
|
psalm:
src/Controller/EventController.php#L83
src/Controller/EventController.php:83:67: MixedArgument: Argument 3 of sprintf cannot be mixed, expecting float|int|object{__tostring()}|string (see https://psalm.dev/030)
|
psalm:
src/DependencyInjection/Configuration.php#L24
src/DependencyInjection/Configuration.php:24:11: UndefinedInterfaceMethod: Method Symfony\Component\Config\Definition\Builder\NodeParentInterface::end does not exist (see https://psalm.dev/181)
|
psalm:
src/Twig/DumpExtension.php#L40
src/Twig/DumpExtension.php:40:57: InvalidNullableReturnType: The declared return type 'string' for Patchlevel\EventSourcingAdminBundle\Twig\DumpExtension::dump is not nullable, but 'null|string' contains null (see https://psalm.dev/144)
|
psalm:
src/Twig/DumpExtension.php#L44
src/Twig/DumpExtension.php:44:16: NullableReturnStatement: The declared return type 'string' for Patchlevel\EventSourcingAdminBundle\Twig\DumpExtension::dump is not nullable, but the function returns 'null|string' (see https://psalm.dev/139)
|
psalm
Process completed with exit code 2.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading