diff --git a/config/level/up-to-typo3-12.php b/config/level/up-to-typo3-12.php new file mode 100644 index 000000000..2b065e243 --- /dev/null +++ b/config/level/up-to-typo3-12.php @@ -0,0 +1,11 @@ +sets([Typo3LevelSetList::UP_TO_TYPO3_11, Typo3SetList::TYPO3_12]); +}; diff --git a/config/typo3-11.0.php b/config/typo3-11.5.php similarity index 100% rename from config/typo3-11.0.php rename to config/typo3-11.5.php diff --git a/config/typo3-12.0.php b/config/typo3-12.0.php new file mode 100644 index 000000000..b469358af --- /dev/null +++ b/config/typo3-12.0.php @@ -0,0 +1,9 @@ +import(__DIR__ . '/v12/*'); +}; diff --git a/config/v12/typo3-120.php b/config/v12/typo3-120.php new file mode 100644 index 000000000..ea416321e --- /dev/null +++ b/config/v12/typo3-120.php @@ -0,0 +1,11 @@ +import(__DIR__ . '/../config.php'); + $rectorConfig->rule(MigrateInternalTypeRector::class); +}; diff --git a/src/Set/Typo3LevelSetList.php b/src/Set/Typo3LevelSetList.php index eadf79850..d5bfc41f5 100644 --- a/src/Set/Typo3LevelSetList.php +++ b/src/Set/Typo3LevelSetList.php @@ -6,6 +6,11 @@ final class Typo3LevelSetList { + /** + * @var string + */ + public const UP_TO_TYPO3_12 = __DIR__ . '/../../config/level/up-to-typo3-12.php'; + /** * @var string */ diff --git a/src/Set/Typo3SetList.php b/src/Set/Typo3SetList.php index 38e833434..17917e249 100644 --- a/src/Set/Typo3SetList.php +++ b/src/Set/Typo3SetList.php @@ -87,7 +87,12 @@ final class Typo3SetList /** * @var string */ - public const TYPO3_11 = __DIR__ . '/../../config/typo3-11.0.php'; + public const TYPO3_11 = __DIR__ . '/../../config/typo3-11.5.php'; + + /** + * @var string + */ + public const TYPO3_12 = __DIR__ . '/../../config/typo3-12.0.php'; /** * @var string