Skip to content

Commit

Permalink
[ORM-213] add replace method call (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohJohan authored Mar 4, 2025
1 parent 75a098f commit 39daccd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/sets/doctrine-orm-213.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
new MethodCallRename('Doctrine\ORM\Event\PreFlushEventArgs', 'getEntityManager', 'getObjectManager'),
// @see https://github.com/doctrine/orm/pull/9906
new MethodCallRename('Doctrine\ORM\Event\LifecycleEventArgs', 'getEntity', 'getObject'),
// @see https://github.com/doctrine/dbal/pull/4580
new MethodCallRename('Doctrine\DBAL\Statement', 'execute', 'executeQuery'),
],
);
$rectorConfig->ruleWithConfiguration(
Expand Down

0 comments on commit 39daccd

Please sign in to comment.