Skip to content

Various updates and changes #44

Various updates and changes

Various updates and changes #44

Triggered via pull request September 30, 2023 16:11
Status Failure
Total duration 1m 0s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Psalm
Fit to window
Zoom out
Zoom in

Annotations

10 errors
UndefinedMethod: packages/cqrs-bundle/DependencyInjection/Configuration.php#L23
packages/cqrs-bundle/DependencyInjection/Configuration.php:23:15: UndefinedMethod: Method Symfony\Component\Config\Definition\Builder\NodeDefinition::children does not exist (see https://psalm.dev/022)
MissingReturnType: packages/cqrs-symfony/Command/AbstractOptionsResolverCommandMessage.php#L52
packages/cqrs-symfony/Command/AbstractOptionsResolverCommandMessage.php:52:21: MissingReturnType: Method SonsOfPHP\Bridge\Symfony\Cqrs\Command\AbstractOptionsResolverCommandMessage::getOption does not have a return type (see https://psalm.dev/050)
MissingReturnType: packages/cqrs-symfony/QueryMessageBus.php#L39
packages/cqrs-symfony/QueryMessageBus.php:39:21: MissingReturnType: Method SonsOfPHP\Bridge\Symfony\Cqrs\QueryMessageBus::handle does not have a return type (see https://psalm.dev/050)
DeprecatedMethod: packages/cqrs-symfony/Tests/Command/AbstractOptionsResolverCommandMessageTest.php#L24
packages/cqrs-symfony/Tests/Command/AbstractOptionsResolverCommandMessageTest.php:24:27: DeprecatedMethod: The method PHPUnit\Framework\TestCase::getMockForAbstractClass has been marked as deprecated (see https://psalm.dev/001)
UndefinedInterfaceMethod: packages/event-dispatcher/EventDispatcher.php#L27
packages/event-dispatcher/EventDispatcher.php:27:35: UndefinedInterfaceMethod: Method Psr\EventDispatcher\ListenerProviderInterface::getListenersForEventName does not exist (see https://psalm.dev/181)
MixedAssignment: packages/event-dispatcher/EventDispatcher.php#L27
packages/event-dispatcher/EventDispatcher.php:27:75: MixedAssignment: Unable to determine the type that $listener is being assigned to (see https://psalm.dev/032)
MixedFunctionCall: packages/event-dispatcher/EventDispatcher.php#L32
packages/event-dispatcher/EventDispatcher.php:32:13: MixedFunctionCall: Cannot call function on mixed (see https://psalm.dev/185)
UndefinedInterfaceMethod: packages/event-dispatcher/EventDispatcher.php#L40
packages/event-dispatcher/EventDispatcher.php:40:26: UndefinedInterfaceMethod: Method Psr\EventDispatcher\ListenerProviderInterface::add does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: packages/event-dispatcher/EventDispatcher.php#L45
packages/event-dispatcher/EventDispatcher.php:45:26: UndefinedInterfaceMethod: Method Psr\EventDispatcher\ListenerProviderInterface::addSubscriber does not exist (see https://psalm.dev/181)
MissingReturnType: packages/event-dispatcher/EventSubscriberInterface.php#L14
packages/event-dispatcher/EventSubscriberInterface.php:14:28: MissingReturnType: Method SonsOfPHP\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents does not have a return type (see https://psalm.dev/050)