PATH:
opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
vendor
/
rector
/
rector-doctrine
/
config
/
sets
<?php declare (strict_types=1); namespace RectorPrefix202411; use Rector\Config\RectorConfig; use Rector\Renaming\Rector\MethodCall\RenameMethodRector; use Rector\Renaming\Rector\Name\RenameClassRector; use Rector\Renaming\ValueObject\MethodCallRename; return static function (RectorConfig $rectorConfig) : void { $rectorConfig->ruleWithConfiguration(RenameMethodRector::class, [ // @see https://github.com/doctrine/orm/pull/9876 new MethodCallRename('Doctrine\\ORM\\Event\\LifecycleEventArgs', 'getEntityManager', 'getObjectManager'), new MethodCallRename('Doctrine\\ORM\\Event\\OnClearEventArgs', 'getEntityManager', 'getObjectManager'), new MethodCallRename('Doctrine\\ORM\\Event\\OnFlushEventArgs', 'getEntityManager', 'getObjectManager'), new MethodCallRename('Doctrine\\ORM\\Event\\PostFlushEventArgs', 'getEntityManager', 'getObjectManager'), new MethodCallRename('Doctrine\\ORM\\Event\\PreFlushEventArgs', 'getEntityManager', 'getObjectManager'), // @see https://github.com/doctrine/orm/pull/9906 new MethodCallRename('Doctrine\\ORM\\Event\\LifecycleEventArgs', 'getEntity', 'getObject'), ]); $rectorConfig->ruleWithConfiguration(RenameClassRector::class, [ // @see https://github.com/doctrine/orm/pull/9906 'Doctrine\\ORM\\Event\\LifecycleEventArgs' => 'Doctrine\\Persistence\\Event\\LifecycleEventArgs', ]); };
[+]
attributes
[-] doctrine-common-20.php
[edit]
[-] doctrine-dbal-40.php
[edit]
[-] doctrine-dbal-30.php
[edit]
[-] doctrine-bundle-210.php
[edit]
[+]
..
[-] doctrine-orm-29.php
[edit]
[-] doctrine-orm-214.php
[edit]
[-] doctrine-collection-22.php
[edit]
[-] doctrine-dbal-211.php
[edit]
[-] doctrine-orm-213.php
[edit]
[-] doctrine-code-quality.php
[edit]
[-] doctrine-orm-25.php
[edit]
[-] typed-collections.php
[edit]
[-] doctrine-dbal-210.php
[edit]