From d7ee386215ade6dc0ab19f043da92b73c907e28a Mon Sep 17 00:00:00 2001 From: Matthias Vogel Date: Thu, 24 Aug 2023 15:33:03 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20typo3=20rector=20Constants?= =?UTF-8?q?ToEnvironmentApiCallRector=20(#67)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/RectorSettings.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/RectorSettings.php b/src/RectorSettings.php index 928f6b7..523470d 100644 --- a/src/RectorSettings.php +++ b/src/RectorSettings.php @@ -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 { @@ -220,6 +221,10 @@ public static function skipTypo3(): array * not used: */ RenameClassMapAliasRector::class, + /** + * in combination with ConstantsToEnvironmentApiCallRector not the best rule + */ + SensitiveConstantNameRector::class, ]; } }