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

LifecycleEventArgs::getEntity() is deprecated (used in ORMReferenceListener) #443

Closed
acrobat opened this issue Jun 16, 2023 · 3 comments · Fixed by #444
Closed

LifecycleEventArgs::getEntity() is deprecated (used in ORMReferenceListener) #443

acrobat opened this issue Jun 16, 2023 · 3 comments · Fixed by #444

Comments

@acrobat
Copy link
Contributor

acrobat commented Jun 16, 2023

1x: Method Doctrine\ORM\Event\LifecycleEventArgs::getEntity() is deprecated and will be removed in Doctrine ORM 3.0. Use getObject() instead. (LifecycleEventArgs.php:44 called by ORMReferenceListener.php:43, doctrine/orm#9875, package doctrine/orm)

@greg0ire
Copy link
Member

greg0ire commented Jun 16, 2023

Are you willing to send a PR to fix this?

@acrobat
Copy link
Contributor Author

acrobat commented Jun 16, 2023

Yeah sure, I will check it soon! Just created the issue already to keep track!

@acrobat
Copy link
Contributor Author

acrobat commented Jun 17, 2023

@greg0ire done! See #444

@stof stof closed this as completed in #444 Jun 17, 2023
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

Successfully merging a pull request may close this issue.

2 participants