Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecations on symfony 6.4 #762

Open
niravpateljoin opened this issue Apr 8, 2024 · 1 comment
Open

Deprecations on symfony 6.4 #762

niravpateljoin opened this issue Apr 8, 2024 · 1 comment

Comments

@niravpateljoin
Copy link

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.

@niravpateljoin niravpateljoin changed the title Deprecation issue on symfony 6.4 Deprecations on symfony 6.4 Apr 8, 2024
@parijke
Copy link
Contributor

parijke commented Apr 10, 2024

#742

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants