From 8a46fb5816479afe7915aa3132eec824293bc158 Mon Sep 17 00:00:00 2001 From: Norman Steger <norman.steger@slub-dresden.de> Date: Mon, 20 Mar 2023 08:50:16 +0100 Subject: [PATCH] add php-cs-fixer fixes --- Build/gitlab-ci/extension/typo3-rector.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Build/gitlab-ci/extension/typo3-rector.php b/Build/gitlab-ci/extension/typo3-rector.php index 63f4c00..e200a57 100644 --- a/Build/gitlab-ci/extension/typo3-rector.php +++ b/Build/gitlab-ci/extension/typo3-rector.php @@ -12,7 +12,6 @@ use Ssch\TYPO3Rector\Rector\General\ExtEmConfRector; use Ssch\TYPO3Rector\Set\Typo3LevelSetList; return static function (RectorConfig $rectorConfig): void { - // If you want to override the number of spaces for your typoscript files you can define it here, the default value is 4 // $parameters = $rectorConfig->parameters(); // $parameters->set(Typo3Option::TYPOSCRIPT_INDENT_SIZE, 2); @@ -57,7 +56,7 @@ return static function (RectorConfig $rectorConfig): void { 'ClassAliasMap.php', getcwd() . '/**/Configuration/*.php', getcwd() . '/**/Configuration/**/*.php', - ] + ], ]); // If you have trouble that rector cannot run because some TYPO3 constants are not defined add an additional constants file @@ -88,7 +87,7 @@ return static function (RectorConfig $rectorConfig): void { // Add some general TYPO3 rules $rectorConfig->rule(ConvertImplicitVariablesToExplicitGlobalsRector::class); $rectorConfig->ruleWithConfiguration(ExtEmConfRector::class, [ - ExtEmConfRector::ADDITIONAL_VALUES_TO_BE_REMOVED => [] + ExtEmConfRector::ADDITIONAL_VALUES_TO_BE_REMOVED => [], ]); // Modernize your TypoScript include statements for files and move from <INCLUDE /> to @import use the FileIncludeToImportStatementVisitor (introduced with TYPO3 9.0) -- GitLab