Baldinof / roadrunner-bundle

A RoadRunner worker integrated in your Symfony app
MIT License
255 stars 46 forks source link

Symfony 6.2: Deprecation warnings #113

Closed webspec2012 closed 1 year ago

webspec2012 commented 1 year ago

Symfony 6.2

One:

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.
Baldinof commented 1 year ago

This is fixed in the 3.x release.

webspec2012 commented 1 year ago

Thanks