Skip to content

Commit

Permalink
[ORM-300] add missing set (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohJohan authored Mar 6, 2025
1 parent 02ca76d commit d9be91e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/sets/doctrine-orm-300.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@
declare(strict_types=1);

use Rector\Config\RectorConfig;
use Rector\Doctrine\Orm30\Rector\MethodCall\SetParametersArrayToCollectionRector;
use Rector\Renaming\Rector\Name\RenameClassRector;

return static function (RectorConfig $rectorConfig): void {
$rectorConfig->rules([
SetParametersArrayToCollectionRector::class,
]);

$rectorConfig->ruleWithConfiguration(RenameClassRector::class, [
'Doctrine\ORM\ORMException' => 'Doctrine\ORM\Exception\ORMException',
]);
Expand Down

0 comments on commit d9be91e

Please sign in to comment.