You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have recently upgraded my old Symfony project from version 3.4 to 6.4 but after upgrading I am facing some deprecations, here is list of deprecations that I am facing.
The "Knp\DoctrineBehaviors\EventSubscriber\BlameableEventSubscriber" class implements "Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface" that is deprecated use the {@see AsDoctrineListener} attribute instead.
The "Knp\DoctrineBehaviors\EventSubscriber\LoggableEventSubscriber" class implements "Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface" that is deprecated use the {@see AsDoctrineListener} attribute instead.
The "Knp\DoctrineBehaviors\EventSubscriber\SluggableEventSubscriber" class implements "Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface" that is deprecated use the {@see AsDoctrineListener} attribute instead.
The "Knp\DoctrineBehaviors\EventSubscriber\SoftDeletableEventSubscriber" class implements "Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface" that is deprecated use the {@see AsDoctrineListener} attribute instead.
The "Knp\DoctrineBehaviors\EventSubscriber\TimestampableEventSubscriber" class implements "Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface" that is deprecated use the {@see AsDoctrineListener} attribute instead.
The "Knp\DoctrineBehaviors\EventSubscriber\TranslatableEventSubscriber" class implements "Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface" that is deprecated use the {@see AsDoctrineListener} attribute instead.
The "Knp\DoctrineBehaviors\EventSubscriber\TreeEventSubscriber" class implements "Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface" that is deprecated use the {@see AsDoctrineListener} attribute instead.
The "Knp\DoctrineBehaviors\EventSubscriber\UuidableEventSubscriber" class implements "Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface" that is deprecated use the {@see AsDoctrineListener} attribute instead.
Since symfony/security-bundle 6.2: The "Symfony\Component\Security\Core\Security" service alias is deprecated, use "Symfony\Bundle\SecurityBundle\Security" instead. It is being referenced by the "Knp\DoctrineBehaviors\Provider\UserProvider" service.
can you guys please provide me a solution which can remove all above deprecations, Thank you.
The text was updated successfully, but these errors were encountered:
niravpateljoin
changed the title
Deprecation issue on symfony 6.4
Deprecations on symfony 6.4
Apr 8, 2024
hi there,
I have recently upgraded my old Symfony project from version 3.4 to 6.4 but after upgrading I am facing some deprecations, here is list of deprecations that I am facing.
The "Knp\DoctrineBehaviors\EventSubscriber\BlameableEventSubscriber" class implements "Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface" that is deprecated use the {@see AsDoctrineListener} attribute instead.
The "Knp\DoctrineBehaviors\EventSubscriber\LoggableEventSubscriber" class implements "Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface" that is deprecated use the {@see AsDoctrineListener} attribute instead.
The "Knp\DoctrineBehaviors\EventSubscriber\SluggableEventSubscriber" class implements "Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface" that is deprecated use the {@see AsDoctrineListener} attribute instead.
The "Knp\DoctrineBehaviors\EventSubscriber\SoftDeletableEventSubscriber" class implements "Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface" that is deprecated use the {@see AsDoctrineListener} attribute instead.
The "Knp\DoctrineBehaviors\EventSubscriber\TimestampableEventSubscriber" class implements "Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface" that is deprecated use the {@see AsDoctrineListener} attribute instead.
The "Knp\DoctrineBehaviors\EventSubscriber\TranslatableEventSubscriber" class implements "Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface" that is deprecated use the {@see AsDoctrineListener} attribute instead.
The "Knp\DoctrineBehaviors\EventSubscriber\TreeEventSubscriber" class implements "Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface" that is deprecated use the {@see AsDoctrineListener} attribute instead.
The "Knp\DoctrineBehaviors\EventSubscriber\UuidableEventSubscriber" class implements "Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface" that is deprecated use the {@see AsDoctrineListener} attribute instead.
Since symfony/security-bundle 6.2: The "Symfony\Component\Security\Core\Security" service alias is deprecated, use "Symfony\Bundle\SecurityBundle\Security" instead. It is being referenced by the "Knp\DoctrineBehaviors\Provider\UserProvider" service.
can you guys please provide me a solution which can remove all above deprecations, Thank you.
The text was updated successfully, but these errors were encountered: