diff --git a/config/v12/typo3-123.php b/config/v12/typo3-123.php index 89a7c1717..0d9f3bf49 100644 --- a/config/v12/typo3-123.php +++ b/config/v12/typo3-123.php @@ -3,8 +3,9 @@ declare(strict_types=1); use Rector\Config\RectorConfig; +use Ssch\TYPO3Rector\Rector\v12\v3\typo3\MigrateMagicRepositoryMethodsRector; return static function (RectorConfig $rectorConfig): void { $rectorConfig->import(__DIR__ . '/../config.php'); - $rectorConfig->rule(\Ssch\TYPO3Rector\Rector\v12\v3\typo3\MigrateMagicRepositoryMethodsRector::class); + $rectorConfig->rule(MigrateMagicRepositoryMethodsRector::class); }; diff --git a/config/v12/typoscript-124.php b/config/v12/typoscript-124.php index bc0b64a20..ab3f9a8a3 100644 --- a/config/v12/typoscript-124.php +++ b/config/v12/typoscript-124.php @@ -3,8 +3,9 @@ declare(strict_types=1); use Rector\Config\RectorConfig; +use Ssch\TYPO3Rector\Rector\v12\v4\typoscript\MigrateXhtmlDoctypeRector; return static function (RectorConfig $rectorConfig): void { $rectorConfig->import(__DIR__ . '/../config.php'); - $rectorConfig->rule(\Ssch\TYPO3Rector\Rector\v12\v4\typoscript\MigrateXhtmlDoctypeRector::class); + $rectorConfig->rule(MigrateXhtmlDoctypeRector::class); };