From c29d1761bfc8b29de227f401deb506d5879491e1 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Wed, 21 Jul 2021 08:30:09 +0700 Subject: [PATCH] [Rector] Update rector to 0.11.37, clean up config --- composer.json | 2 +- rector.php | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/composer.json b/composer.json index ef116fc088..d86e9bd065 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "phpstan/phpstan": "0.12.91", "phpunit/phpunit": "^9.1", "predis/predis": "^1.1", - "rector/rector": "0.11.36", + "rector/rector": "0.11.37", "symplify/package-builder": "^9.3" }, "suggest": { diff --git a/rector.php b/rector.php index bc01a45eb1..b8605abc0e 100644 --- a/rector.php +++ b/rector.php @@ -58,13 +58,8 @@ return static function (ContainerConfigurator $containerConfigurator): void { __DIR__ . '/system/ThirdParty', __DIR__ . '/tests/system/Config/fixtures', __DIR__ . '/tests/_support', - PassStrictParameterToFunctionParameterRector::class => [__DIR__ . '/tests/system/Database/Live/SelectTest.php'], JsonThrowOnErrorRector::class, StringifyStrNeedlesRector::class, - InlineIfToExplicitIfRector::class => [ - __DIR__ . '/app/Config', - __DIR__ . '/system/Test/bootstrap.php', - ], ]); // auto import fully qualified class names