diff --git a/config/v11/typo3-112.php b/config/v11/typo3-112.php index 486b08857..166ad4a6a 100644 --- a/config/v11/typo3-112.php +++ b/config/v11/typo3-112.php @@ -6,5 +6,6 @@ use Ssch\TYPO3Rector\Rector\v11\v2\typo3\SubstituteEnvironmentServiceWithApplicationTypeRector; return static function (RectorConfig $rectorConfig): void { + $rectorConfig->import(__DIR__ . '/../config.php'); $rectorConfig->rule(SubstituteEnvironmentServiceWithApplicationTypeRector::class); }; diff --git a/config/v12/flexform-123.php b/config/v12/flexform-123.php index 6a8e6f802..885aaef3b 100644 --- a/config/v12/flexform-123.php +++ b/config/v12/flexform-123.php @@ -6,5 +6,6 @@ use Ssch\TYPO3Rector\Rector\v12\v3\flexform\MigrateItemsToIndexedArrayKeysForFlexFormItemsRector; return static function (RectorConfig $rectorConfig): void { + $rectorConfig->import(__DIR__ . '/../config.php'); $rectorConfig->rule(MigrateItemsToIndexedArrayKeysForFlexFormItemsRector::class); }; diff --git a/src/Set/Typo3SetList.php b/src/Set/Typo3SetList.php index aaa4c935b..f28003618 100644 --- a/src/Set/Typo3SetList.php +++ b/src/Set/Typo3SetList.php @@ -103,6 +103,16 @@ final class Typo3SetList */ public const TYPOSCRIPT_120 = __DIR__ . '/../../config/v12/typoscript-120.php'; + /** + * @var string + */ + public const FLEXFORM_120 = __DIR__ . '/../../config/v12/flexform-120.php'; + + /** + * @var string + */ + public const FLEXFORM_123 = __DIR__ . '/../../config/v12/flexform-123.php'; + /** * @var string */ diff --git a/utils/generator/templates/config/config.php b/utils/generator/templates/config/config.php index 2693ec3bb..884180226 100644 --- a/utils/generator/templates/config/config.php +++ b/utils/generator/templates/config/config.php @@ -5,5 +5,6 @@ use Rector\Config\RectorConfig; return static function (RectorConfig $rectorConfig): void { + $rectorConfig->import(__DIR__ . '/../config.php'); ###FIRST_RULE### };