From a450a2f2f8882ab8516a358c705d57b1e5ba47f0 Mon Sep 17 00:00:00 2001 From: Maxim Smakouz Date: Tue, 5 Dec 2023 19:23:12 +0200 Subject: [PATCH] Add skip rule to Rector --- rector.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rector.php b/rector.php index f39a47bad..8da2fc2be 100644 --- a/rector.php +++ b/rector.php @@ -9,6 +9,7 @@ use Rector\DeadCode\Rector\Property\RemoveUselessVarTagRector; use Rector\Php70\Rector\StmtsAwareInterface\IfIssetToCoalescingRector; use Rector\Php71\Rector\FuncCall\CountOnNullRector; +use Rector\Php71\Rector\FuncCall\RemoveExtraParametersRector; use Rector\Set\ValueObject\LevelSetList; use Rector\Set\ValueObject\SetList; @@ -47,6 +48,9 @@ __DIR__ . '/src/Prototype/src/NodeVisitors/RemoveTrait.php', __DIR__ . '/src/Logger/src/ListenerRegistry.php', ], + RemoveExtraParametersRector::class => [ + __DIR__ . '/src/Boot/src/BootloadManager/AbstractBootloadManager.php', + ], ]); $config->import(LevelSetList::UP_TO_PHP_72);