From d389f59ac6f3b78071e5f7ff0e14f08ed16d3023 Mon Sep 17 00:00:00 2001 From: Sebastian Schreiber Date: Thu, 10 Aug 2023 09:42:32 +0200 Subject: [PATCH] TASK: Add icons list to template Resolves: #3449 --- templates/rector.php.dist | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/rector.php.dist b/templates/rector.php.dist index 1ff9944cf..d7128ab05 100644 --- a/templates/rector.php.dist +++ b/templates/rector.php.dist @@ -10,6 +10,7 @@ use Ssch\TYPO3Rector\Configuration\Typo3Option; use Ssch\TYPO3Rector\Rector\General\ConvertImplicitVariablesToExplicitGlobalsRector; use Ssch\TYPO3Rector\Rector\General\ExtEmConfRector; use Ssch\TYPO3Rector\Set\Typo3LevelSetList; +use Ssch\TYPO3Rector\Set\Typo3SetList; return static function (RectorConfig $rectorConfig): void { @@ -19,6 +20,8 @@ return static function (RectorConfig $rectorConfig): void { $rectorConfig->sets([ Typo3LevelSetList::UP_TO_TYPO3_11, + // https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ExtensionArchitecture/FileStructure/Configuration/Icons.html + // Typo3SetList::REGISTER_ICONS_TO_ICON, ]); // Define your target version which you want to support