doctrine / data-fixtures

Doctrine2 ORM Data Fixtures Extensions
http://www.doctrine-project.org
MIT License
2.76k stars 224 forks source link

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

Closed acrobat closed 1 year ago

acrobat commented 1 year ago

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, https://github.com/doctrine/orm/issues/9875, package doctrine/orm)

greg0ire commented 1 year ago

Are you willing to send a PR to fix this?

acrobat commented 1 year ago

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

acrobat commented 1 year ago

@greg0ire done! See #444