Passed
Push — master ( 6874ac...17d005 )
by
unknown
14:25
created
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.
typo3/sysext/backend/Classes/ServiceProvider.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -48,19 +48,19 @@
 block discarded – undo
48 48
     public function getFactories(): array
49 49
     {
50 50
         return [
51
-            Application::class => [ static::class, 'getApplication' ],
52
-            RequestHandler::class => [ static::class, 'getRequestHandler' ],
53
-            RouteDispatcher::class => [ static::class, 'getRouteDispatcher' ],
54
-            UriBuilder::class => [ static::class, 'getUriBuilder' ],
55
-            'backend.middlewares' => [ static::class, 'getBackendMiddlewares' ],
56
-            'backend.routes' => [ static::class, 'getBackendRoutes' ],
51
+            Application::class => [static::class, 'getApplication'],
52
+            RequestHandler::class => [static::class, 'getRequestHandler'],
53
+            RouteDispatcher::class => [static::class, 'getRouteDispatcher'],
54
+            UriBuilder::class => [static::class, 'getUriBuilder'],
55
+            'backend.middlewares' => [static::class, 'getBackendMiddlewares'],
56
+            'backend.routes' => [static::class, 'getBackendRoutes'],
57 57
         ];
58 58
     }
59 59
 
60 60
     public function getExtensions(): array
61 61
     {
62 62
         return [
63
-            Router::class => [ static::class, 'configureBackendRouter' ],
63
+            Router::class => [static::class, 'configureBackendRouter'],
64 64
         ] + parent::getExtensions();
65 65
     }
66 66
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/ImageManipulationElement.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
         if (MathUtility::canBeInterpretedAsInteger($fileUid)) {
228 228
             try {
229 229
                 $file = GeneralUtility::makeInstance(ResourceFactory::class)->getFileObject($fileUid);
230
-            } catch (FileDoesNotExistException|\InvalidArgumentException $e) {
230
+            } catch (FileDoesNotExistException | \InvalidArgumentException $e) {
231 231
             }
232 232
         }
233 233
         return $file;
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
         foreach ($config['cropVariants'] as $id => $cropVariant) {
278 278
 
279 279
             // Filter allowed aspect ratios
280
-            $cropVariant['allowedAspectRatios'] = array_filter($cropVariant['allowedAspectRatios'] ?? [], static function ($aspectRatio) {
280
+            $cropVariant['allowedAspectRatios'] = array_filter($cropVariant['allowedAspectRatios'] ?? [], static function($aspectRatio) {
281 281
                 return !(bool)($aspectRatio['disabled'] ?? false);
282 282
             });
283 283
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Controller/EditDocumentController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -522,7 +522,7 @@
 block discarded – undo
522 522
         // Processing related GET / POST vars
523 523
         $this->data = $parsedBody['data'] ?? [];
524 524
         $this->cmd = $parsedBody['cmd'] ?? [];
525
-        $this->mirror = $parsedBody['mirror']  ?? [];
525
+        $this->mirror = $parsedBody['mirror'] ?? [];
526 526
         $this->returnNewPageId = (bool)($parsedBody['returnNewPageId'] ?? false);
527 527
 
528 528
         // Only options related to $this->data submission are included here
Please login to merge, or discard this patch.
typo3/sysext/scheduler/Classes/Command/SchedulerCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
 
115 115
         $overwrittenTaskList = $input->getOption('task');
116 116
         $overwrittenTaskList = is_array($overwrittenTaskList) ? $overwrittenTaskList : [];
117
-        $overwrittenTaskList = array_filter($overwrittenTaskList, fn ($value) => MathUtility::canBeInterpretedAsInteger($value));
117
+        $overwrittenTaskList = array_filter($overwrittenTaskList, fn($value) => MathUtility::canBeInterpretedAsInteger($value));
118 118
         $overwrittenTaskList = array_map('intval', $overwrittenTaskList);
119 119
         if ($overwrittenTaskList !== []) {
120 120
             $this->overwrittenTaskList = $overwrittenTaskList;
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/InputTextElement.php 1 patch
Spacing   +35 added lines, -35 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;
@@ -253,26 +253,26 @@  discard block
 block discarded – undo
253 253
 
254 254
         $mainFieldHtml = [];
255 255
         $mainFieldHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
256
-        $mainFieldHtml[] =  '<div class="form-wizards-wrap">';
257
-        $mainFieldHtml[] =      '<div class="form-wizards-element">';
258
-        $mainFieldHtml[] =          '<input type="' . $inputType . '" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
259
-        $mainFieldHtml[] =          '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
260
-        $mainFieldHtml[] =      '</div>';
256
+        $mainFieldHtml[] = '<div class="form-wizards-wrap">';
257
+        $mainFieldHtml[] = '<div class="form-wizards-element">';
258
+        $mainFieldHtml[] = '<input type="' . $inputType . '" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
259
+        $mainFieldHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
260
+        $mainFieldHtml[] = '</div>';
261 261
         if (!empty($valuePickerHtml) || !empty($valueSliderHtml) || !empty($fieldControlHtml)) {
262
-            $mainFieldHtml[] =      '<div class="form-wizards-items-aside">';
263
-            $mainFieldHtml[] =          '<div class="btn-group">';
264
-            $mainFieldHtml[] =              implode(LF, $valuePickerHtml);
265
-            $mainFieldHtml[] =              implode(LF, $valueSliderHtml);
266
-            $mainFieldHtml[] =              $fieldControlHtml;
267
-            $mainFieldHtml[] =          '</div>';
268
-            $mainFieldHtml[] =      '</div>';
262
+            $mainFieldHtml[] = '<div class="form-wizards-items-aside">';
263
+            $mainFieldHtml[] = '<div class="btn-group">';
264
+            $mainFieldHtml[] = implode(LF, $valuePickerHtml);
265
+            $mainFieldHtml[] = implode(LF, $valueSliderHtml);
266
+            $mainFieldHtml[] = $fieldControlHtml;
267
+            $mainFieldHtml[] = '</div>';
268
+            $mainFieldHtml[] = '</div>';
269 269
         }
270 270
         if (!empty($fieldWizardHtml)) {
271 271
             $mainFieldHtml[] = '<div class="form-wizards-items-bottom">';
272 272
             $mainFieldHtml[] = $fieldWizardHtml;
273 273
             $mainFieldHtml[] = '</div>';
274 274
         }
275
-        $mainFieldHtml[] =  '</div>';
275
+        $mainFieldHtml[] = '</div>';
276 276
         $mainFieldHtml[] = '</div>';
277 277
         $mainFieldHtml = implode(LF, $mainFieldHtml);
278 278
 
@@ -282,11 +282,11 @@  discard block
 block discarded – undo
282 282
             $fullElement = [];
283 283
             $fullElement[] = '<div class="t3-form-field-disable"></div>';
284 284
             $fullElement[] = '<div class="form-check t3-form-field-eval-null-checkbox">';
285
-            $fullElement[] =     '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
286
-            $fullElement[] =     '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
287
-            $fullElement[] =     '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
288
-            $fullElement[] =         $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
289
-            $fullElement[] =     '</label>';
285
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
286
+            $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
287
+            $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
288
+            $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
289
+            $fullElement[] = '</label>';
290 290
             $fullElement[] = '</div>';
291 291
             $fullElement[] = $mainFieldHtml;
292 292
             $fullElement = implode(LF, $fullElement);
@@ -315,19 +315,19 @@  discard block
 block discarded – undo
315 315
             }
316 316
             $fullElement = [];
317 317
             $fullElement[] = '<div class="form-check t3js-form-field-eval-null-placeholder-checkbox">';
318
-            $fullElement[] =     '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
319
-            $fullElement[] =     '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
320
-            $fullElement[] =     '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
321
-            $fullElement[] =         $overrideLabel;
322
-            $fullElement[] =     '</label>';
318
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
319
+            $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
320
+            $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
321
+            $fullElement[] = $overrideLabel;
322
+            $fullElement[] = '</label>';
323 323
             $fullElement[] = '</div>';
324 324
             $fullElement[] = '<div class="t3js-formengine-placeholder-placeholder">';
325
-            $fullElement[] =    '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
326
-            $fullElement[] =        '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
327
-            $fullElement[] =    '</div>';
325
+            $fullElement[] = '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
326
+            $fullElement[] = '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
327
+            $fullElement[] = '</div>';
328 328
             $fullElement[] = '</div>';
329 329
             $fullElement[] = '<div class="t3js-formengine-placeholder-formfield">';
330
-            $fullElement[] =    $mainFieldHtml;
330
+            $fullElement[] = $mainFieldHtml;
331 331
             $fullElement[] = '</div>';
332 332
             $fullElement = implode(LF, $fullElement);
333 333
         }
Please login to merge, or discard this patch.
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1011,7 +1011,7 @@  discard block
 block discarded – undo
1011 1011
         }
1012 1012
 
1013 1013
         $tagAttributes = array_map(
1014
-            function ($attributeValue) {
1014
+            function($attributeValue) {
1015 1015
                 if (is_array($attributeValue)) {
1016 1016
                     return implode(' ', $attributeValue);
1017 1017
                 }
@@ -1356,7 +1356,7 @@  discard block
 block discarded – undo
1356 1356
                 'currentUrl' => $this->listURL('', $table, 'pointer'),
1357 1357
                 'currentPage' => $currentPage,
1358 1358
                 'totalPages' => $totalPages,
1359
-                'firstElement' => ((($currentPage -1) * $itemsPerPage) + 1),
1359
+                'firstElement' => ((($currentPage - 1) * $itemsPerPage) + 1),
1360 1360
                 'lastElement' => $lastElementNumber,
1361 1361
                 'colspan' => $paginationColumns
1362 1362
             ])
@@ -1538,7 +1538,7 @@  discard block
 block discarded – undo
1538 1538
                         $params = [
1539 1539
                             'edit' => [
1540 1540
                                 $table => [
1541
-                                    (0-(($row['_MOVE_PLH'] ?? 0) ? $row['_MOVE_PLH_uid'] : $row['uid'])) => 'new'
1541
+                                    (0 - (($row['_MOVE_PLH'] ?? 0) ? $row['_MOVE_PLH_uid'] : $row['uid'])) => 'new'
1542 1542
                                 ]
1543 1543
                             ],
1544 1544
                             'returnUrl' => $this->listURL()
@@ -1929,8 +1929,8 @@  discard block
 block discarded – undo
1929 1929
         $possibleTranslations = $this->possibleTranslations;
1930 1930
         if ($table === 'pages') {
1931 1931
             // Calculate possible translations for pages
1932
-            $possibleTranslations = array_map(static fn ($siteLanguage) => $siteLanguage->getLanguageId(), $this->languagesAllowedForUser);
1933
-            $possibleTranslations = array_filter($possibleTranslations, static fn ($languageUid) => $languageUid > 0);
1932
+            $possibleTranslations = array_map(static fn($siteLanguage) => $siteLanguage->getLanguageId(), $this->languagesAllowedForUser);
1933
+            $possibleTranslations = array_filter($possibleTranslations, static fn($languageUid) => $languageUid > 0);
1934 1934
         }
1935 1935
 
1936 1936
         // Traverse page translations and add icon for each language that does NOT yet exist and is included in site configuration:
@@ -1977,7 +1977,7 @@  discard block
 block discarded – undo
1977 1977
     {
1978 1978
         $lang = $this->getLanguageService();
1979 1979
         // Load already selected fields, if any:
1980
-        $setFields = (array)($this->setFields[$table]?? []);
1980
+        $setFields = (array)($this->setFields[$table] ?? []);
1981 1981
         // Request fields from table:
1982 1982
         $fields = $this->makeFieldList($table, false, true);
1983 1983
         // Add pseudo "control" fields
Please login to merge, or discard this patch.