shapecode / cron-bundle

This bundle provides a simple interface for registering repeated scheduled tasks within your application.
https://shapecode.github.io/cron-bundle/
MIT License
56 stars 25 forks source link

Symfony 6.3 #56

Closed pfpro closed 1 year ago

pfpro commented 1 year ago

Hey there, i try to switch from Symfony 6.2 to 6.3 and get the following logs:

The "Shapecode\Bundle\CronBundle\EventListener\EntitySubscriber" class implements "Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface" that is deprecated use the {@see AsDoctrineListener} attribute instead.

Since symfony/doctrine-bridge 6.3: Registering "Shapecode\Bundle\CronBundle\EventListener\EntitySubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] attribute.

User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Shapecode\Bundle\CronBundle\EventListener\EntitySubscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] attribute.

Any chance you can fix the deprecations?

Best regards

nicklog commented 1 year ago

Hi,

it isnt an error. its just a deprecation.

Best regards

pfpro commented 1 year ago

I have adjusted the wording. is there still a chance that you will take care of the matter? in terms of a smooth transition to the current and upcoming symfony versions 6.3, 6.4, 7.0 and so on.

Hooray for shapecode, love your code!

pfpro commented 1 year ago

my log files are exploding ... could you give any further statement please?

Gemorroj commented 1 year ago

@nicklog

its just a deprecation.

yes, but it would be nice to fix it

nicklog commented 1 year ago

done