-
Notifications
You must be signed in to change notification settings - Fork 294
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
LifecycleEventArgs::getEntity() is deprecated #733
Comments
There is more deprecation for php 8.1, 8.2 and ex 6.3 / 6.4 symfony release. I'm linking to the post and it's nice to know whether there will be a new release / upgrade or whether other libraries / own solution should be included. Regards |
I've added a PR for this, but it's complicated by whether or not the bundle will continue to support versions that are not longer supported by Symfony (e.g. 6.0 and 6.1). I've been reviewing the issues and PRs, it seems like this is a great point to create a version 3 branch that only supports 6.4 and ^7. In addition to Symfony 7 coming in a few days, Doctrine DBAL 4 is at Release Candidate 1, which of course we'll want to support. |
deprecation.INFO: User Deprecated: Method Doctrine\ORM\Event\LifecycleEventArgs::getEntity() is deprecated and will be removed in Doctrine ORM 3.0. Use getObject() instead. (LifecycleEventArgs.php:49 called by TranslatableEventSubscriber.php:164, doctrine/orm#9875, package doctrine/orm) {"exception":"[object] (ErrorException(code: 0): User Deprecated: Method Doctrine\ORM\Event\LifecycleEventArgs::getEntity() is deprecated and will be removed in Doctrine ORM 3.0. Use getObject() instead. (LifecycleEventArgs.php:49 called by TranslatableEventSubscriber.php:164, doctrine/orm#9875, package doctrine/orm) at ../vendor/doctrine/deprecations/lib/Doctrine/Deprecations/Deprecation.php:195)
The text was updated successfully, but these errors were encountered: