Passed
Push — master ( 7ac07a...8ad661 )
by
unknown
13:02
created
typo3/sysext/core/Classes/Resource/Rendering/VimeoRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
         if (isset($options['data']) && is_array($options['data'])) {
181 181
             array_walk(
182 182
                 $options['data'],
183
-                function (&$value, $key) use (&$attributes) {
183
+                function(&$value, $key) use (&$attributes) {
184 184
                     $attributes['data-' . $key] = $value;
185 185
                 }
186 186
             );
Please login to merge, or discard this patch.
typo3/sysext/install/Classes/Updates/RsaauthExtractionUpdate.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,8 +88,8 @@
 block discarded – undo
88 88
     public function getDescription(): string
89 89
     {
90 90
         return 'The extension "rsaauth" adds a public/private key based encryption for Backend and Frontend'
91
-               . ' login passwords. The approach is limited and has various flaws. The extension is fully'
92
-               . ' obsolete if the instance uses HTTPS.';
91
+                . ' login passwords. The approach is limited and has various flaws. The extension is fully'
92
+                . ' obsolete if the instance uses HTTPS.';
93 93
     }
94 94
 
95 95
     /**
Please login to merge, or discard this patch.
typo3/sysext/install/Classes/Updates/TaskcenterExtractionUpdate.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     public function getDescription(): string
89 89
     {
90 90
         return 'The extension "taskcenter" adds a view for Backend users to run configured tasks.'
91
-               . ' It is only useful if properly configured.';
91
+                . ' It is only useful if properly configured.';
92 92
     }
93 93
 
94 94
     /**
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/TextTableElement.php 1 patch
Spacing   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -117,16 +117,16 @@  discard block
 block discarded – undo
117 117
         if ($config['readOnly']) {
118 118
             $html = [];
119 119
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
120
-            $html[] =   $fieldInformationHtml;
121
-            $html[] =   '<div class="form-wizards-wrap">';
122
-            $html[] =       '<div class="form-wizards-element">';
123
-            $html[] =           '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
124
-            $html[] =               '<textarea class="form-control" rows="' . $rows . '" disabled>';
125
-            $html[] =                   htmlspecialchars($itemValue);
126
-            $html[] =               '</textarea>';
127
-            $html[] =           '</div>';
128
-            $html[] =       '</div>';
129
-            $html[] =   '</div>';
120
+            $html[] = $fieldInformationHtml;
121
+            $html[] = '<div class="form-wizards-wrap">';
122
+            $html[] = '<div class="form-wizards-element">';
123
+            $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
124
+            $html[] = '<textarea class="form-control" rows="' . $rows . '" disabled>';
125
+            $html[] = htmlspecialchars($itemValue);
126
+            $html[] = '</textarea>';
127
+            $html[] = '</div>';
128
+            $html[] = '</div>';
129
+            $html[] = '</div>';
130 130
             $html[] = '</div>';
131 131
             $resultArray['html'] = implode(LF, $html);
132 132
             return $resultArray;
@@ -196,26 +196,26 @@  discard block
 block discarded – undo
196 196
 
197 197
         $html = [];
198 198
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
199
-        $html[] =   $fieldInformationHtml;
200
-        $html[] =   '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
201
-        $html[] =       '<div class="form-wizards-wrap">';
202
-        $html[] =           '<div class="form-wizards-element">';
203
-        $html[] =               '<textarea ' . GeneralUtility::implodeAttributes($attributes, true) . '>' . htmlspecialchars($itemValue) . '</textarea>';
204
-        $html[] =           '</div>';
199
+        $html[] = $fieldInformationHtml;
200
+        $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
201
+        $html[] = '<div class="form-wizards-wrap">';
202
+        $html[] = '<div class="form-wizards-element">';
203
+        $html[] = '<textarea ' . GeneralUtility::implodeAttributes($attributes, true) . '>' . htmlspecialchars($itemValue) . '</textarea>';
204
+        $html[] = '</div>';
205 205
         if (!empty($fieldControlHtml)) {
206
-            $html[] =           '<div class="form-wizards-items-aside">';
207
-            $html[] =               '<div class="btn-group">';
208
-            $html[] =                   $fieldControlHtml;
209
-            $html[] =               '</div>';
210
-            $html[] =           '</div>';
206
+            $html[] = '<div class="form-wizards-items-aside">';
207
+            $html[] = '<div class="btn-group">';
208
+            $html[] = $fieldControlHtml;
209
+            $html[] = '</div>';
210
+            $html[] = '</div>';
211 211
         }
212 212
         if (!empty($fieldWizardHtml)) {
213 213
             $html[] = '<div class="form-wizards-items-bottom">';
214 214
             $html[] = $fieldWizardHtml;
215 215
             $html[] = '</div>';
216 216
         }
217
-        $html[] =       '</div>';
218
-        $html[] =   '</div>';
217
+        $html[] = '</div>';
218
+        $html[] = '</div>';
219 219
         $html[] = '</div>';
220 220
 
221 221
         $resultArray['requireJsModules'][] = ['TYPO3/CMS/Backend/FormEngine/Element/TextTableElement' => '
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Type/File/FileInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
                         '/',
90 90
                         (string)$fileInfo->file($this->getPathname(), FILEINFO_EXTENSION)
91 91
                     ),
92
-                    function ($item) {
92
+                    function($item) {
93 93
                         // filter invalid items ('???' is used if not found in magic.mime database)
94 94
                         return $item !== '' && $item !== '???';
95 95
                     }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Page/PageRenderer.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1370,7 +1370,7 @@  discard block
 block discarded – undo
1370 1370
         // sanitize module names in internal 'paths'
1371 1371
         $internalPathModuleNames = array_keys($requireJsConfig['internal']['paths'] ?? []);
1372 1372
         $sanitizedInternalPathModuleNames = array_map(
1373
-            function ($moduleName) {
1373
+            function($moduleName) {
1374 1374
                 // trim spaces and slashes & add ending slash
1375 1375
                 return trim($moduleName, ' /') . '/';
1376 1376
             },
@@ -1470,7 +1470,7 @@  discard block
 block discarded – undo
1470 1470
     {
1471 1471
         return array_filter(
1472 1472
             $array,
1473
-            function (string $key) use ($keys, $keep) {
1473
+            function(string $key) use ($keys, $keep) {
1474 1474
                 return in_array($key, $keys, true) === $keep;
1475 1475
             },
1476 1476
             ARRAY_FILTER_USE_KEY
Please login to merge, or discard this patch.
Switch Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -361,14 +361,14 @@  discard block
 block discarded – undo
361 361
     {
362 362
         foreach ($newState as $var => $value) {
363 363
             switch ($var) {
364
-            case 'locales':
365
-                break;
366
-            case 'metaTagRegistry':
367
-                $this->metaTagRegistry->updateState($value);
368
-                break;
369
-            default:
370
-                $this->{$var} = $value;
371
-                break;
364
+                case 'locales':
365
+                    break;
366
+                case 'metaTagRegistry':
367
+                    $this->metaTagRegistry->updateState($value);
368
+                    break;
369
+                default:
370
+                    $this->{$var} = $value;
371
+                    break;
372 372
             }
373 373
         }
374 374
     }
@@ -382,14 +382,14 @@  discard block
 block discarded – undo
382 382
         $state = [];
383 383
         foreach (get_object_vars($this) as $var => $value) {
384 384
             switch ($var) {
385
-            case 'locales':
386
-                break;
387
-            case 'metaTagRegistry':
388
-                $state[$var] = $this->metaTagRegistry->getState();
389
-                break;
390
-            default:
391
-                $state[$var] = $value;
392
-                break;
385
+                case 'locales':
386
+                    break;
387
+                case 'metaTagRegistry':
388
+                    $state[$var] = $this->metaTagRegistry->getState();
389
+                    break;
390
+                default:
391
+                    $state[$var] = $value;
392
+                    break;
393 393
             }
394 394
         }
395 395
         return $state;
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Domain/Repository/PageRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -470,7 +470,7 @@
 block discarded – undo
470 470
     protected function getLanguageFallbackChain(?LanguageAspect $languageAspect): array
471 471
     {
472 472
         $languageAspect = $languageAspect ?? $this->context->getAspect('language');
473
-        return array_filter($languageAspect->getFallbackChain(), function ($item) {
473
+        return array_filter($languageAspect->getFallbackChain(), function($item) {
474 474
             return MathUtility::canBeInterpretedAsInteger($item);
475 475
         });
476 476
     }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Context/Context.php 1 patch
Switch Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -78,16 +78,16 @@  discard block
 block discarded – undo
78 78
     {
79 79
         switch ($name) {
80 80
         // Ensure the default aspects are available, this is mostly necessary for tests to not set up everything
81
-        case 'date':
82
-        case 'visibility':
83
-        case 'backend.user':
84
-        case 'frontend.user':
85
-        case 'workspace':
86
-        case 'language':
87
-        case 'typoscript':
88
-            return true;
89
-        default:
90
-            return isset($this->aspects[$name]);
81
+            case 'date':
82
+            case 'visibility':
83
+            case 'backend.user':
84
+            case 'frontend.user':
85
+            case 'workspace':
86
+            case 'language':
87
+            case 'typoscript':
88
+                return true;
89
+            default:
90
+                return isset($this->aspects[$name]);
91 91
         }
92 92
     }
93 93
 
@@ -103,29 +103,29 @@  discard block
 block discarded – undo
103 103
         if (!isset($this->aspects[$name])) {
104 104
             // Ensure the default aspects are available, this is mostly necessary for tests to not set up everything
105 105
             switch ($name) {
106
-            case 'date':
107
-                $this->setAspect('date', new DateTimeAspect(new \DateTimeImmutable('@' . $GLOBALS['EXEC_TIME'])));
108
-                break;
109
-            case 'visibility':
110
-                $this->setAspect('visibility', new VisibilityAspect());
111
-                break;
112
-            case 'backend.user':
113
-                $this->setAspect('backend.user', new UserAspect());
114
-                break;
115
-            case 'frontend.user':
116
-                $this->setAspect('frontend.user', new UserAspect());
117
-                break;
118
-            case 'workspace':
119
-                $this->setAspect('workspace', new WorkspaceAspect());
120
-                break;
121
-            case 'language':
122
-                $this->setAspect('language', new LanguageAspect());
123
-                break;
124
-            case 'typoscript':
125
-                $this->setAspect('typoscript', new TypoScriptAspect());
126
-                break;
127
-            default:
128
-                throw new AspectNotFoundException('No aspect named "' . $name . '" found.', 1527777641);
106
+                case 'date':
107
+                    $this->setAspect('date', new DateTimeAspect(new \DateTimeImmutable('@' . $GLOBALS['EXEC_TIME'])));
108
+                    break;
109
+                case 'visibility':
110
+                    $this->setAspect('visibility', new VisibilityAspect());
111
+                    break;
112
+                case 'backend.user':
113
+                    $this->setAspect('backend.user', new UserAspect());
114
+                    break;
115
+                case 'frontend.user':
116
+                    $this->setAspect('frontend.user', new UserAspect());
117
+                    break;
118
+                case 'workspace':
119
+                    $this->setAspect('workspace', new WorkspaceAspect());
120
+                    break;
121
+                case 'language':
122
+                    $this->setAspect('language', new LanguageAspect());
123
+                    break;
124
+                case 'typoscript':
125
+                    $this->setAspect('typoscript', new TypoScriptAspect());
126
+                    break;
127
+                default:
128
+                    throw new AspectNotFoundException('No aspect named "' . $name . '" found.', 1527777641);
129 129
             }
130 130
         }
131 131
         return $this->aspects[$name];
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/TypoScript/Parser/ConstantConfigurationParser.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -259,7 +259,7 @@
 block discarded – undo
259 259
                                     $editableComments[$const]['subcat_name'] = $catSplit[1];
260 260
                                     $orderIdentifier = isset($catSplit[2]) ? trim($catSplit[2]) : $counter;
261 261
                                     $editableComments[$const]['subcat'] = $this->subCategories[$catSplit[1]][1]
262
-                                                                          . '/' . $catSplit[1] . '/' . $orderIdentifier . 'z';
262
+                                                                            . '/' . $catSplit[1] . '/' . $orderIdentifier . 'z';
263 263
                                 } elseif (isset($catSplit[2])) {
264 264
                                     $editableComments[$const]['subcat'] = 'x/' . trim($catSplit[2]) . 'z';
265 265
                                 } else {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
             // Sort configurations of each subcategory
77 77
             foreach ($hierarchicConfiguration as &$catConfigurationArray) {
78 78
                 foreach ($catConfigurationArray as &$subcatConfigurationArray) {
79
-                    uasort($subcatConfigurationArray, function ($a, $b) {
79
+                    uasort($subcatConfigurationArray, function($a, $b) {
80 80
                         return strnatcmp($a['subcat'], $b['subcat']);
81 81
                     });
82 82
                 }
Please login to merge, or discard this patch.