[SoftDeleteable] Deprecated `LifecycleEventArgs`
Hi,
It seems doctrine/orm with version 2.14 deprecates the use of the class Doctrine\ORM\Event\LifecycleEventArgs. It will be removed in ORM 3.0. (see changelog)
I think it will affect the SoftDeleteable behavior. Right?
Thanks,
Mickaël
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi,
Is it affect SoftDeleteable behavior?
Thank you,
Mickaël
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Up.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Up again 😄
This was fixed with 3.15. There's a B/C layer for event listeners with a typehint to the deprecated ORM event class, otherwise, the Gedmo\SoftDeleteable\Event\PreSoftDeleteEventArgs and Gedmo\SoftDeleteable\Event\PostSoftDeleteEventArgs classes should be used in listeners going forward.
Oh right :+1:
Related links:
- https://github.com/doctrine-extensions/DoctrineExtensions/issues/2648
- https://github.com/doctrine-extensions/DoctrineExtensions/pull/2649
- https://github.com/doctrine-extensions/DoctrineExtensions/releases/tag/v3.15.0