Skip to content

Commit

Permalink
[TASK] Import namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
simonschaufi committed Jan 16, 2024
1 parent 9517dbf commit fcbab6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config/v12/typo3-123.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
3 changes: 2 additions & 1 deletion config/v12/typoscript-124.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};

0 comments on commit fcbab6d

Please sign in to comment.