Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Slub Web Bison
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
Sitepackages
Slub Web Bison
Commits
8a46fb58
Commit
8a46fb58
authored
2 years ago
by
Norman Steger
Browse files
Options
Downloads
Patches
Plain Diff
add php-cs-fixer fixes
parent
fb47b384
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Build/gitlab-ci/extension/typo3-rector.php
+2
-3
2 additions, 3 deletions
Build/gitlab-ci/extension/typo3-rector.php
with
2 additions
and
3 deletions
Build/gitlab-ci/extension/typo3-rector.php
+
2
−
3
View file @
8a46fb58
...
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment