Method "Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents()" might add "array" as a native return type declaration in the future. Do the same in implementation "Baldinof\RoadRunnerBundle\Integration\Doctrine\DoctrineODMListener" now to avoid errors or add an explicit @return annotation to suppress this message.
Two:
Since symfony/console 6.1: Relying on the static property "$defaultName" for setting a command name is deprecated. Add the "Symfony\Component\Console\Attribute\AsCommand" attribute to the "Baldinof\RoadRunnerBundle\Command\WorkerCommand" class instead.
Symfony 6.2
One:
Two: