diff --git a/config/rector.php b/config/rector.php index 57c98235..61df8418 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( @@ -35,7 +34,4 @@ PHPUnitSetList::PHPUNIT_80, // PHPUnitSetList::PHPUNIT_CODE_QUALITY, ]) - ->withRules([ - AddVoidReturnTypeWhereNoReturnRector::class, - ]) ->withImportNames(true, true, false);