From eef60db420abf6a8b4460bbb2c0ea960992a027c Mon Sep 17 00:00:00 2001 From: Jake Hotson Date: Mon, 14 Jul 2025 02:00:58 +0100 Subject: [PATCH 1/2] [CLEANUP] Remove superfluous Rector rule Since #1201, this becomes a duplicate. --- config/rector.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/config/rector.php b/config/rector.php index 57c98235a..9589e1adb 100644 --- a/config/rector.php +++ b/config/rector.php @@ -35,7 +35,4 @@ PHPUnitSetList::PHPUNIT_80, // PHPUnitSetList::PHPUNIT_CODE_QUALITY, ]) - ->withRules([ - AddVoidReturnTypeWhereNoReturnRector::class, - ]) ->withImportNames(true, true, false); From 7f47c4a0226dec77c53a740dba7e93b7ce6be169 Mon Sep 17 00:00:00 2001 From: Jake Hotson Date: Mon, 14 Jul 2025 18:58:47 +0100 Subject: [PATCH 2/2] Remove now-unused `use` --- config/rector.php | 1 - 1 file changed, 1 deletion(-) diff --git a/config/rector.php b/config/rector.php index 9589e1adb..61df84182 100644 --- a/config/rector.php +++ b/config/rector.php @@ -6,7 +6,6 @@ use Rector\PHPUnit\Set\PHPUnitSetList; use Rector\Set\ValueObject\LevelSetList; use Rector\Set\ValueObject\SetList; -use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector; return RectorConfig::configure() ->withPaths(