-
Notifications
You must be signed in to change notification settings - Fork 31
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
Fix deprecations #259
Fix deprecations #259
Conversation
ddabe11
to
3196a9c
Compare
3196a9c
to
3d9752d
Compare
use Doctrine\Persistence\Event\LifecycleEventArgs; | ||
use Meilisearch\Bundle\SearchService; | ||
|
||
final class DoctrineEventSubscriber implements EventSubscriber |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to implement this interface anymore? 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, doctrine has listeners and in Symfony it's enough to tag the class with the appropriate event
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the stack expert here, you probably had reasons for skipping those warnings here, and I will agree with them. But I would like to have a process or at least know how to avoid those additions. Because to me, this kind of file only grows indefinitely.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it will be reduced later. There are some indirect deprecations that cannot be fixed and need to wait upstream fix
bors merge |
This message is sent automatically Thank you very much for submitting your PR! Did you know that throughout the month of June we’re holding a rafle? |
Pull Request
Related issue
Fixes #258
What does this PR do?
PR checklist
Please check if your PR fulfills the following requirements: