Skip to content

Commit

Permalink
Apply changes suggested in code review
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverklee committed Nov 16, 2024
1 parent 9d7808e commit 432deb0
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions config/rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;
use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector;
use Rector\ValueObject\PhpVersion;

return RectorConfig::configure()
->withPaths(
Expand All @@ -16,19 +15,10 @@
__DIR__ . '/../tests',
]
)
->withPhpVersion(PhpVersion::PHP_73)
->withPhpSets(
true
)
->withSets([
// Rector sets

LevelSetList::UP_TO_PHP_73,
// LevelSetList::UP_TO_PHP_74,
// LevelSetList::UP_TO_PHP_80,
// LevelSetList::UP_TO_PHP_81,
// LevelSetList::UP_TO_PHP_82,
// LevelSetList::UP_TO_PHP_83,

// SetList::CODE_QUALITY,
// SetList::CODING_STYLE,
Expand All @@ -43,12 +33,9 @@
// PHPUnit sets

PHPUnitSetList::PHPUNIT_90,
// PHPUnitSetList::PHPUNIT_100,
// PHPUnitSetList::PHPUNIT_CODE_QUALITY,
])
->withRules([
AddVoidReturnTypeWhereNoReturnRector::class,
])
->withImportNames(true, true, false)
->withSkip([
]);
->withImportNames(true, true, false);

0 comments on commit 432deb0

Please sign in to comment.