Skip to content

Commit

Permalink
πŸ› fix typo3 rector ConstantsToEnvironmentApiCallRector (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanti authored Aug 24, 2023
1 parent 18f1f2c commit d7ee386
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/RectorSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
use Ssch\TYPO3Rector\Set\Typo3LevelSetList;
use Ssch\TYPO3Rector\Set\Typo3SetList;
use Rector\DeadCode\Rector\MethodCall\RemoveEmptyMethodCallRector;
use Rector\Php73\Rector\ConstFetch\SensitiveConstantNameRector;

final class RectorSettings
{
Expand Down Expand Up @@ -220,6 +221,10 @@ public static function skipTypo3(): array
* not used:
*/
RenameClassMapAliasRector::class,
/**
* in combination with ConstantsToEnvironmentApiCallRector not the best rule
*/
SensitiveConstantNameRector::class,
];
}
}

0 comments on commit d7ee386

Please sign in to comment.