Passed
Push — master ( 70ec97...8d6f3f )
by
unknown
15:26
created
typo3/sysext/backend/Classes/Form/Element/InputTextElement.php 1 patch
Spacing   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -104,14 +104,14 @@  discard block
 block discarded – undo
104 104
 
105 105
             $html = [];
106 106
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
107
-            $html[] =   $fieldInformationHtml;
108
-            $html[] =   '<div class="form-wizards-wrap">';
109
-            $html[] =       '<div class="form-wizards-element">';
110
-            $html[] =           '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
111
-            $html[] =               '<input ' . GeneralUtility::implodeAttributes($disabledFieldAttributes, true) . ' disabled>';
112
-            $html[] =           '</div>';
113
-            $html[] =       '</div>';
114
-            $html[] =   '</div>';
107
+            $html[] = $fieldInformationHtml;
108
+            $html[] = '<div class="form-wizards-wrap">';
109
+            $html[] = '<div class="form-wizards-element">';
110
+            $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
111
+            $html[] = '<input ' . GeneralUtility::implodeAttributes($disabledFieldAttributes, true) . ' disabled>';
112
+            $html[] = '</div>';
113
+            $html[] = '</div>';
114
+            $html[] = '</div>';
115 115
             $html[] = '</div>';
116 116
             $resultArray['html'] = implode(LF, $html);
117 117
             return $resultArray;
@@ -185,8 +185,8 @@  discard block
 block discarded – undo
185 185
                     . '.value=this.options[this.selectedIndex].value';
186 186
             }
187 187
             $valuePickerHtml[] = '<select';
188
-            $valuePickerHtml[] =  ' class="form-select form-control-adapt"';
189
-            $valuePickerHtml[] =  ' onchange="' . htmlspecialchars($assignValue . ';this.blur();this.selectedIndex=0;' . implode('', $fieldChangeFunc)) . '"';
188
+            $valuePickerHtml[] = ' class="form-select form-control-adapt"';
189
+            $valuePickerHtml[] = ' onchange="' . htmlspecialchars($assignValue . ';this.blur();this.selectedIndex=0;' . implode('', $fieldChangeFunc)) . '"';
190 190
             $valuePickerHtml[] = '>';
191 191
             $valuePickerHtml[] = '<option></option>';
192 192
             foreach ($config['valuePicker']['items'] as $item) {
@@ -256,26 +256,26 @@  discard block
 block discarded – undo
256 256
 
257 257
         $mainFieldHtml = [];
258 258
         $mainFieldHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
259
-        $mainFieldHtml[] =  '<div class="form-wizards-wrap">';
260
-        $mainFieldHtml[] =      '<div class="form-wizards-element">';
261
-        $mainFieldHtml[] =          '<input type="' . $inputType . '" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
262
-        $mainFieldHtml[] =          '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
263
-        $mainFieldHtml[] =      '</div>';
259
+        $mainFieldHtml[] = '<div class="form-wizards-wrap">';
260
+        $mainFieldHtml[] = '<div class="form-wizards-element">';
261
+        $mainFieldHtml[] = '<input type="' . $inputType . '" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
262
+        $mainFieldHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
263
+        $mainFieldHtml[] = '</div>';
264 264
         if (!empty($valuePickerHtml) || !empty($valueSliderHtml) || !empty($fieldControlHtml)) {
265
-            $mainFieldHtml[] =      '<div class="form-wizards-items-aside">';
266
-            $mainFieldHtml[] =          '<div class="btn-group">';
267
-            $mainFieldHtml[] =              implode(LF, $valuePickerHtml);
268
-            $mainFieldHtml[] =              implode(LF, $valueSliderHtml);
269
-            $mainFieldHtml[] =              $fieldControlHtml;
270
-            $mainFieldHtml[] =          '</div>';
271
-            $mainFieldHtml[] =      '</div>';
265
+            $mainFieldHtml[] = '<div class="form-wizards-items-aside">';
266
+            $mainFieldHtml[] = '<div class="btn-group">';
267
+            $mainFieldHtml[] = implode(LF, $valuePickerHtml);
268
+            $mainFieldHtml[] = implode(LF, $valueSliderHtml);
269
+            $mainFieldHtml[] = $fieldControlHtml;
270
+            $mainFieldHtml[] = '</div>';
271
+            $mainFieldHtml[] = '</div>';
272 272
         }
273 273
         if (!empty($fieldWizardHtml)) {
274 274
             $mainFieldHtml[] = '<div class="form-wizards-items-bottom">';
275 275
             $mainFieldHtml[] = $fieldWizardHtml;
276 276
             $mainFieldHtml[] = '</div>';
277 277
         }
278
-        $mainFieldHtml[] =  '</div>';
278
+        $mainFieldHtml[] = '</div>';
279 279
         $mainFieldHtml[] = '</div>';
280 280
         $mainFieldHtml = implode(LF, $mainFieldHtml);
281 281
 
@@ -285,11 +285,11 @@  discard block
 block discarded – undo
285 285
             $fullElement = [];
286 286
             $fullElement[] = '<div class="t3-form-field-disable"></div>';
287 287
             $fullElement[] = '<div class="form-check t3-form-field-eval-null-checkbox">';
288
-            $fullElement[] =     '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
289
-            $fullElement[] =     '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
290
-            $fullElement[] =     '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
291
-            $fullElement[] =         $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
292
-            $fullElement[] =     '</label>';
288
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
289
+            $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
290
+            $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
291
+            $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
292
+            $fullElement[] = '</label>';
293 293
             $fullElement[] = '</div>';
294 294
             $fullElement[] = $mainFieldHtml;
295 295
             $fullElement = implode(LF, $fullElement);
@@ -318,19 +318,19 @@  discard block
 block discarded – undo
318 318
             }
319 319
             $fullElement = [];
320 320
             $fullElement[] = '<div class="form-check t3js-form-field-eval-null-placeholder-checkbox">';
321
-            $fullElement[] =     '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
322
-            $fullElement[] =     '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
323
-            $fullElement[] =     '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
324
-            $fullElement[] =         $overrideLabel;
325
-            $fullElement[] =     '</label>';
321
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
322
+            $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
323
+            $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
324
+            $fullElement[] = $overrideLabel;
325
+            $fullElement[] = '</label>';
326 326
             $fullElement[] = '</div>';
327 327
             $fullElement[] = '<div class="t3js-formengine-placeholder-placeholder">';
328
-            $fullElement[] =    '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
329
-            $fullElement[] =        '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
330
-            $fullElement[] =    '</div>';
328
+            $fullElement[] = '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
329
+            $fullElement[] = '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
330
+            $fullElement[] = '</div>';
331 331
             $fullElement[] = '</div>';
332 332
             $fullElement[] = '<div class="t3js-formengine-placeholder-formfield">';
333
-            $fullElement[] =    $mainFieldHtml;
333
+            $fullElement[] = $mainFieldHtml;
334 334
             $fullElement[] = '</div>';
335 335
             $fullElement = implode(LF, $fullElement);
336 336
         }
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-form-field-name' => 'data[' . $fieldRef . '][' . $rteParams . '][' . $rteConfig . ']',
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/ServiceProvider.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -36,17 +36,17 @@
 block discarded – undo
36 36
     public function getFactories(): array
37 37
     {
38 38
         return [
39
-            Object\Container\Container::class => [ static::class, 'getObjectContainer' ],
40
-            Object\ObjectManager::class => [ static::class, 'getObjectManager' ],
39
+            Object\Container\Container::class => [static::class, 'getObjectContainer'],
40
+            Object\ObjectManager::class => [static::class, 'getObjectManager'],
41 41
             // @deprecated since v11, will be removed in v12
42
-            SignalSlot\Dispatcher::class => [ static::class, 'getSignalSlotDispatcher' ],
43
-            Configuration\BackendConfigurationManager::class => [ static::class, 'getBackendConfigurationManager' ],
44
-            Configuration\ConfigurationManager::class => [ static::class, 'getConfigurationManager' ],
45
-            Reflection\ReflectionService::class => [ static::class, 'getReflectionService' ],
42
+            SignalSlot\Dispatcher::class => [static::class, 'getSignalSlotDispatcher'],
43
+            Configuration\BackendConfigurationManager::class => [static::class, 'getBackendConfigurationManager'],
44
+            Configuration\ConfigurationManager::class => [static::class, 'getConfigurationManager'],
45
+            Reflection\ReflectionService::class => [static::class, 'getReflectionService'],
46 46
             // @deprecated since v11, will be removed in v12
47
-            Service\EnvironmentService::class => [ static::class, 'getEnvironmentService' ],
48
-            Service\ExtensionService::class => [ static::class, 'getExtensionService' ],
49
-            Security\Cryptography\HashService::class => [ static::class, 'getHashService' ],
47
+            Service\EnvironmentService::class => [static::class, 'getEnvironmentService'],
48
+            Service\ExtensionService::class => [static::class, 'getExtensionService'],
49
+            Security\Cryptography\HashService::class => [static::class, 'getHashService'],
50 50
         ];
51 51
     }
52 52
 
Please login to merge, or discard this patch.
typo3/sysext/extensionmanager/Classes/Report/ExtensionComposerStatus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 
75 75
         foreach ($deficits as $key => $deficit) {
76 76
             $message = '';
77
-            $extensionsToReport = count(array_filter($extensionsWithComposerDeficit, static function ($extensionDeficit) use ($key) {
77
+            $extensionsToReport = count(array_filter($extensionsWithComposerDeficit, static function($extensionDeficit) use ($key) {
78 78
                 return $extensionDeficit === $key;
79 79
             }));
80 80
 
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/RelationHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -468,7 +468,7 @@  discard block
 block discarded – undo
468 468
         if ($sortby === 'uid') {
469 469
             usort(
470 470
                 $this->itemArray,
471
-                function ($a, $b) {
471
+                function($a, $b) {
472 472
                     return $a['id'] < $b['id'] ? -1 : 1;
473 473
                 }
474 474
             );
@@ -1407,7 +1407,7 @@  discard block
 block discarded – undo
1407 1407
             }
1408 1408
 
1409 1409
             $purgedItemIds = [];
1410
-            $callable =[$this, $purgeCallback];
1410
+            $callable = [$this, $purgeCallback];
1411 1411
             if (is_callable($callable)) {
1412 1412
                 $purgedItemIds = $callable($itemTableName, $itemIds);
1413 1413
             }
Please login to merge, or discard this patch.
typo3/sysext/info/Classes/Controller/TranslationStatusController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,8 +99,8 @@
 block discarded – undo
99 99
                         <div class="col">
100 100
                            <label class="form-label">' .
101 101
                                 htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:info/Resources/Private/Language/locallang_webinfo.xlf:moduleFunctions.' . $name)) .
102
-                           '</label>' .
103
-                           $menu .
102
+                            '</label>' .
103
+                            $menu .
104 104
                         '</div>';
105 105
                     if ($addCsh) {
106 106
                         $moduleMenu .= BackendUtility::cshItem('_MOD_web_info', $name, '', '<div class="col"><span class="btn btn-default btn-sm">|</span></div>');
Please login to merge, or discard this patch.