Passed
Push — master ( 4bc566...6854af )
by
unknown
25:54 queued 10:31
created
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/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/backend/Classes/History/RecordHistory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -334,7 +334,7 @@
 block discarded – undo
334 334
                 }
335 335
             }
336 336
         }
337
-        usort($historyDataForRecord, static function (array $a, array $b): int {
337
+        usort($historyDataForRecord, static function(array $a, array $b): int {
338 338
             if ($a['tstamp'] < $b['tstamp']) {
339 339
                 return 1;
340 340
             }
Please login to merge, or discard this patch.
typo3/sysext/recordlist/Classes/Browser/AbstractElementBrowser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
      */
145 145
     protected function getBParamDataAttributes()
146 146
     {
147
-        [$fieldRef, $rteParams, $rteConfig, , $irreObjectId] = explode('|', $this->bparams);
147
+        [$fieldRef, $rteParams, $rteConfig,, $irreObjectId] = explode('|', $this->bparams);
148 148
 
149 149
         return [
150 150
             'data-this-script-url' => strpos($this->thisScript, '?') === false ? $this->thisScript . '?' : $this->thisScript . '&',
Please login to merge, or discard this patch.
typo3/sysext/impexp/Classes/Import.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1208,7 +1208,7 @@
 block discarded – undo
1208 1208
     public function remapListedDBRecords_flexFormCallBack($pParams, $dsConf, $dataValue, $dataValue_ext1, $dataValue_ext2, $path)
1209 1209
     {
1210 1210
         // Extract parameters:
1211
-        [, , , $config] = $pParams;
1211
+        [,,, $config] = $pParams;
1212 1212
         // In case the $path is used as index without a trailing slash we will remove that
1213 1213
         if (!is_array($config['flexFormRels']['db'][$path]) && is_array($config['flexFormRels']['db'][rtrim($path, '/')])) {
1214 1214
             $path = rtrim($path, '/');
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/View/PageLayoutView.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1193,7 +1193,7 @@
 block discarded – undo
1193 1193
                         ) {
1194 1194
                             if (!$hideRestrictedCols) {
1195 1195
                                 $grid .= $this->tt_content_drawColHeader($this->getLanguageService()->sL($columnConfig['name']) .
1196
-                                  ' (' . $this->getLanguageService()->getLL('noAccess') . ')');
1196
+                                    ' (' . $this->getLanguageService()->getLL('noAccess') . ')');
1197 1197
                                 $grid .= $this->dispatchSectionMarkupGeneratedEvent('before', $lP, $columnConfig);
1198 1198
                             }
1199 1199
                         } elseif (isset($columnConfig['name']) && $columnConfig['name'] !== '') {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -738,7 +738,7 @@
 block discarded – undo
738 738
                 }
739 739
 
740 740
                 $defaultLanguageElements = [];
741
-                array_walk($defaultLanguageElementsByColumn, function (array $columnContent) use (&$defaultLanguageElements) {
741
+                array_walk($defaultLanguageElementsByColumn, function(array $columnContent) use (&$defaultLanguageElements) {
742 742
                     $defaultLanguageElements = array_merge($defaultLanguageElements, $columnContent);
743 743
                 });
744 744
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Template/Components/Buttons/SplitButton.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@
 block discarded – undo
185 185
                 foreach ($optionAttributes as $key => $value) {
186 186
                     $optionAttributesString .= ' ' . htmlspecialchars($key) . '="' . htmlspecialchars($value) . '"';
187 187
                 }
188
-                $html =  '<a' . $optionAttributesString . '>' . $option->getIcon()->render('inline') . ' '
188
+                $html = '<a' . $optionAttributesString . '>' . $option->getIcon()->render('inline') . ' '
189 189
                     . htmlspecialchars($option->getTitle()) . '</a>';
190 190
             } else {
191 191
                 // for any other kind of button we simply use what comes along (e.g. LinkButton)
Please login to merge, or discard this patch.