diff --git a/Build/rector/config.php b/Build/rector/config.php index 1794970a..3b414059 100644 --- a/Build/rector/config.php +++ b/Build/rector/config.php @@ -22,16 +22,11 @@ __DIR__ . '/../../ext_emconf.php', __DIR__ . '/../../ext_localconf.php', ]) - ->withPhpVersion(PhpVersion::PHP_81) ->withPhpSets() + ->withComposerBased(phpunit: true) ->withSets([ // Rector sets - LevelSetList::UP_TO_PHP_81, - // LevelSetList::UP_TO_PHP_82, - // LevelSetList::UP_TO_PHP_83, - // LevelSetList::UP_TO_PHP_84, - // SetList::CODE_QUALITY, // SetList::CODING_STYLE, // SetList::DEAD_CODE, @@ -42,12 +37,6 @@ // SetList::STRICT_BOOLEANS, // SetList::TYPE_DECLARATION, - // PHPUnit sets - - PHPUnitSetList::PHPUNIT_100, - // PHPUnitSetList::PHPUNIT_110, - // PHPUnitSetList::PHPUNIT_CODE_QUALITY, - // TYPO3 Sets // https://github.com/sabbelasichon/typo3-rector/blob/main/src/Set/Typo3LevelSetList.php // https://github.com/sabbelasichon/typo3-rector/blob/main/src/Set/Typo3SetList.php