Passed
Push — master ( 933edc...f61bbf )
by
unknown
15:51
created
typo3/sysext/fluid/Classes/ServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,8 @@
 block discarded – undo
35 35
     public function getFactories(): array
36 36
     {
37 37
         return [
38
-            Core\Rendering\RenderingContextFactory::class => [ static::class, 'getRenderingContextFactory' ],
39
-            Core\ViewHelper\ViewHelperResolverFactory::class => [ static::class, 'getViewHelperResolverFactory' ],
38
+            Core\Rendering\RenderingContextFactory::class => [static::class, 'getRenderingContextFactory'],
39
+            Core\ViewHelper\ViewHelperResolverFactory::class => [static::class, 'getViewHelperResolverFactory'],
40 40
         ];
41 41
     }
42 42
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Backend/ToolbarItems/UserToolbarItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
             }
93 93
 
94 94
             // Remove any item that is not an array (means, the stored uid is not available anymore)
95
-            $mostRecentUsers = array_filter($mostRecentUsers, static function ($record) {
95
+            $mostRecentUsers = array_filter($mostRecentUsers, static function($record) {
96 96
                 return is_array($record);
97 97
             });
98 98
 
Please login to merge, or discard this patch.
typo3/sysext/recordlist/Classes/Controller/ColumnSelectorController.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
                 'message' => htmlspecialchars(
63 63
                     $this->getLanguageService()->sL('LLL:EXT:recordlist/Resources/Private/Language/locallang.xlf:updateColumnView.nothingUpdated')
64 64
                 )
65
-           ]);
65
+            ]);
66 66
         }
67 67
 
68 68
         $backendUser = $this->getBackendUserAuthentication();
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
         }
166 166
 
167 167
         // Sort standard columns by their resolved label
168
-        usort($columns, static fn ($a, $b) => $a['label'] <=> $b['label']);
168
+        usort($columns, static fn($a, $b) => $a['label'] <=> $b['label']);
169 169
 
170 170
         // Disabled columns go first, followed by standard columns
171 171
         // and special columns, which do not have a label.
Please login to merge, or discard this patch.
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1079,7 +1079,7 @@  discard block
 block discarded – undo
1079 1079
         }
1080 1080
 
1081 1081
         $tagAttributes = array_map(
1082
-            function ($attributeValue) {
1082
+            function($attributeValue) {
1083 1083
                 if (is_array($attributeValue)) {
1084 1084
                     return implode(' ', $attributeValue);
1085 1085
                 }
@@ -1374,7 +1374,7 @@  discard block
 block discarded – undo
1374 1374
                 'currentUrl' => $this->listURL('', $table, 'pointer'),
1375 1375
                 'currentPage' => $currentPage,
1376 1376
                 'totalPages' => $totalPages,
1377
-                'firstElement' => ((($currentPage -1) * $itemsPerPage) + 1),
1377
+                'firstElement' => ((($currentPage - 1) * $itemsPerPage) + 1),
1378 1378
                 'lastElement' => $lastElementNumber,
1379 1379
                 'colspan' => $paginationColumns
1380 1380
             ])
@@ -1549,7 +1549,7 @@  discard block
 block discarded – undo
1549 1549
                         $params = [
1550 1550
                             'edit' => [
1551 1551
                                 $table => [
1552
-                                    (0-(($row['_MOVE_PLH'] ?? 0) ? $row['_MOVE_PLH_uid'] : $row['uid'])) => 'new'
1552
+                                    (0 - (($row['_MOVE_PLH'] ?? 0) ? $row['_MOVE_PLH_uid'] : $row['uid'])) => 'new'
1553 1553
                                 ]
1554 1554
                             ],
1555 1555
                             'returnUrl' => $this->listURL()
@@ -1961,8 +1961,8 @@  discard block
 block discarded – undo
1961 1961
         $possibleTranslations = $this->possibleTranslations;
1962 1962
         if ($table === 'pages') {
1963 1963
             // Calculate possible translations for pages
1964
-            $possibleTranslations = array_map(static fn ($siteLanguage) => $siteLanguage->getLanguageId(), $this->languagesAllowedForUser);
1965
-            $possibleTranslations = array_filter($possibleTranslations, static fn ($languageUid) => $languageUid > 0);
1964
+            $possibleTranslations = array_map(static fn($siteLanguage) => $siteLanguage->getLanguageId(), $this->languagesAllowedForUser);
1965
+            $possibleTranslations = array_filter($possibleTranslations, static fn($languageUid) => $languageUid > 0);
1966 1966
         }
1967 1967
 
1968 1968
         // Traverse page translations and add icon for each language that does NOT yet exist and is included in site configuration:
Please login to merge, or discard this patch.
typo3/sysext/filelist/Classes/Controller/File/EditFileController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
                 throw new \Exception('Files with that extension are not editable. Allowed extensions are: ' . $extList, 1476050135);
202 202
             }
203 203
 
204
-            $fullIdentifier= $this->fileObject->getCombinedIdentifier();
204
+            $fullIdentifier = $this->fileObject->getCombinedIdentifier();
205 205
             $returnUrl = (string)$this->uriBuilder->buildUriFromRoute('file_edit', ['target' => $fullIdentifier]);
206 206
 
207 207
             // Making the formfields
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/ServiceProvider.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -37,18 +37,18 @@
 block discarded – undo
37 37
     public function getFactories(): array
38 38
     {
39 39
         return [
40
-            Object\Container\Container::class => [ static::class, 'getObjectContainer' ],
41
-            Object\ObjectManager::class => [ static::class, 'getObjectManager' ],
40
+            Object\Container\Container::class => [static::class, 'getObjectContainer'],
41
+            Object\ObjectManager::class => [static::class, 'getObjectManager'],
42 42
             // @deprecated since v11, will be removed in v12
43
-            SignalSlot\Dispatcher::class => [ static::class, 'getSignalSlotDispatcher' ],
44
-            Configuration\BackendConfigurationManager::class => [ static::class, 'getBackendConfigurationManager' ],
45
-            Configuration\ConfigurationManager::class => [ static::class, 'getConfigurationManager' ],
46
-            Reflection\ReflectionService::class => [ static::class, 'getReflectionService' ],
43
+            SignalSlot\Dispatcher::class => [static::class, 'getSignalSlotDispatcher'],
44
+            Configuration\BackendConfigurationManager::class => [static::class, 'getBackendConfigurationManager'],
45
+            Configuration\ConfigurationManager::class => [static::class, 'getConfigurationManager'],
46
+            Reflection\ReflectionService::class => [static::class, 'getReflectionService'],
47 47
             // @deprecated since v11, will be removed in v12
48
-            Service\EnvironmentService::class => [ static::class, 'getEnvironmentService' ],
49
-            Service\ExtensionService::class => [ static::class, 'getExtensionService' ],
50
-            Service\ImageService::class => [ static::class, 'getImageService' ],
51
-            Security\Cryptography\HashService::class => [ static::class, 'getHashService' ],
48
+            Service\EnvironmentService::class => [static::class, 'getEnvironmentService'],
49
+            Service\ExtensionService::class => [static::class, 'getExtensionService'],
50
+            Service\ImageService::class => [static::class, 'getImageService'],
51
+            Security\Cryptography\HashService::class => [static::class, 'getHashService'],
52 52
         ];
53 53
     }
54 54
 
Please login to merge, or discard this patch.
typo3/sysext/lowlevel/Classes/Database/QueryGenerator.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -2538,7 +2538,7 @@  discard block
 block discarded – undo
2538 2538
         if (in_array('table', $enableArr) && !($userTsConfig['mod.']['dbint.']['disableSelectATable'] ?? false)) {
2539 2539
             $out[] = '<div class="form-group">';
2540 2540
             $out[] = '	<label for="SET[queryTable]">Select a table:</label>';
2541
-            $out[] =    $this->mkTableSelect('SET[queryTable]', $this->table);
2541
+            $out[] = $this->mkTableSelect('SET[queryTable]', $this->table);
2542 2542
             $out[] = '</div>';
2543 2543
         }
2544 2544
         if ($this->table) {
@@ -2578,19 +2578,19 @@  discard block
 block discarded – undo
2578 2578
             if (in_array('fields', $enableArr) && !($userTsConfig['mod.']['dbint.']['disableSelectFields'] ?? false)) {
2579 2579
                 $out[] = '<div class="form-group form-group-with-button-addon">';
2580 2580
                 $out[] = '	<label for="SET[queryFields]">Select fields:</label>';
2581
-                $out[] =    $this->mkFieldToInputSelect('SET[queryFields]', $this->extFieldLists['queryFields']);
2581
+                $out[] = $this->mkFieldToInputSelect('SET[queryFields]', $this->extFieldLists['queryFields']);
2582 2582
                 $out[] = '</div>';
2583 2583
             }
2584 2584
             if (in_array('query', $enableArr) && !($userTsConfig['mod.']['dbint.']['disableMakeQuery'] ?? false)) {
2585 2585
                 $out[] = '<div class="form-group">';
2586 2586
                 $out[] = '	<label>Make Query:</label>';
2587
-                $out[] =    $queryCode;
2587
+                $out[] = $queryCode;
2588 2588
                 $out[] = '</div>';
2589 2589
             }
2590 2590
             if (in_array('group', $enableArr) && !($userTsConfig['mod.']['dbint.']['disableGroupBy'] ?? false)) {
2591 2591
                 $out[] = '<div class="form-group form-inline">';
2592 2592
                 $out[] = '	<label for="SET[queryGroup]">Group By:</label>';
2593
-                $out[] =     $this->mkTypeSelect('SET[queryGroup]', $this->extFieldLists['queryGroup'], '');
2593
+                $out[] = $this->mkTypeSelect('SET[queryGroup]', $this->extFieldLists['queryGroup'], '');
2594 2594
                 $out[] = '</div>';
2595 2595
             }
2596 2596
             if (in_array('order', $enableArr) && !($userTsConfig['mod.']['dbint.']['disableOrderBy'] ?? false)) {
@@ -2598,20 +2598,20 @@  discard block
 block discarded – undo
2598 2598
                 $orderBy = [];
2599 2599
                 $orderBy[] = $this->mkTypeSelect('SET[queryOrder]', $orderByArr[0], '');
2600 2600
                 $orderBy[] = '<div class="form-check">';
2601
-                $orderBy[] =    BackendUtility::getFuncCheck(0, 'SET[queryOrderDesc]', $modSettings['queryOrderDesc'] ?? '', '', '', 'id="checkQueryOrderDesc"');
2601
+                $orderBy[] = BackendUtility::getFuncCheck(0, 'SET[queryOrderDesc]', $modSettings['queryOrderDesc'] ?? '', '', '', 'id="checkQueryOrderDesc"');
2602 2602
                 $orderBy[] = '	<label class="form-check-label" for="checkQueryOrderDesc">Descending</label>';
2603 2603
                 $orderBy[] = '</div>';
2604 2604
 
2605 2605
                 if ($orderByArr[0]) {
2606 2606
                     $orderBy[] = $this->mkTypeSelect('SET[queryOrder2]', $orderByArr[1], '');
2607 2607
                     $orderBy[] = '<div class="form-check">';
2608
-                    $orderBy[] =    BackendUtility::getFuncCheck(0, 'SET[queryOrder2Desc]', $modSettings['queryOrder2Desc'], '', '', 'id="checkQueryOrder2Desc"') . ' Descending';
2608
+                    $orderBy[] = BackendUtility::getFuncCheck(0, 'SET[queryOrder2Desc]', $modSettings['queryOrder2Desc'], '', '', 'id="checkQueryOrder2Desc"') . ' Descending';
2609 2609
                     $orderBy[] = '	<label class="form-check-label" for="checkQueryOrder2Desc">Descending</label>';
2610 2610
                     $orderBy[] = '</div>';
2611 2611
                 }
2612 2612
                 $out[] = '<div class="form-group form-inline">';
2613 2613
                 $out[] = '	<label>Order By:</label>';
2614
-                $out[] =     implode(LF, $orderBy);
2614
+                $out[] = implode(LF, $orderBy);
2615 2615
                 $out[] = '</div>';
2616 2616
             }
2617 2617
             if (in_array('limit', $enableArr) && !($userTsConfig['mod.']['dbint.']['disableLimit'] ?? false)) {
@@ -2645,10 +2645,10 @@  discard block
 block discarded – undo
2645 2645
                 $out[] = '<div class="form-group">';
2646 2646
                 $out[] = '	<label>Limit:</label>';
2647 2647
                 $out[] = '	<div class="form-inline">';
2648
-                $out[] =        implode(LF, $limit);
2648
+                $out[] = implode(LF, $limit);
2649 2649
                 $out[] = '		<div class="btn-group t3js-limit-submit">';
2650
-                $out[] =            $prevButton;
2651
-                $out[] =            $nextButton;
2650
+                $out[] = $prevButton;
2651
+                $out[] = $nextButton;
2652 2652
                 $out[] = '		</div>';
2653 2653
                 $out[] = '		<div class="btn-group t3js-limit-submit">';
2654 2654
                 $out[] = '			<input type="button" class="btn btn-default" data-value="10" value="10">';
Please login to merge, or discard this patch.
typo3/sysext/filelist/Classes/FileList.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
             $files = iterator_to_array($this->folderObject->searchFiles($this->searchDemand));
271 271
             // @todo Currently files, which got deleted in the file system, are still found.
272 272
             //       Therefore we have to ask their parent folder if it still contains the file.
273
-            $files = array_filter($files, static function (FileInterface $file): bool {
273
+            $files = array_filter($files, static function(FileInterface $file): bool {
274 274
                 try {
275 275
                     if ($file->getParentFolder()->hasFile($file->getName())) {
276 276
                         return true;
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
                 $theData[$v] = htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels._PATH_'));
369 369
             } else {
370 370
                 // Normal row
371
-                $theData[$v]  = $this->linkWrapSort($v);
371
+                $theData[$v] = $this->linkWrapSort($v);
372 372
             }
373 373
         }
374 374
 
@@ -705,7 +705,7 @@  discard block
 block discarded – undo
705 705
     {
706 706
         // first two keys are "0" (default) and "-1" (multiple), after that comes the "other languages"
707 707
         $allSystemLanguages = $this->translateTools->getSystemLanguages();
708
-        return array_filter($allSystemLanguages, function ($languageRecord) {
708
+        return array_filter($allSystemLanguages, function($languageRecord) {
709 709
             if ($languageRecord['uid'] === -1 || $languageRecord['uid'] === 0 || !$this->getBackendUser()->checkLanguageAccess($languageRecord['uid'])) {
710 710
                 return false;
711 711
             }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/SelectSingleBoxElement.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -125,25 +125,25 @@  discard block
 block discarded – undo
125 125
         $html = [];
126 126
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
127 127
         $html[] = $fieldInformationHtml;
128
-        $html[] =   '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
129
-        $html[] =       '<div class="form-wizards-wrap form-wizards-aside">';
130
-        $html[] =           '<div class="form-wizards-element">';
128
+        $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
129
+        $html[] = '<div class="form-wizards-wrap form-wizards-aside">';
130
+        $html[] = '<div class="form-wizards-element">';
131 131
         if (!$disabled) {
132 132
             // Add an empty hidden field which will send a blank value if all items are unselected.
133
-            $html[] =           '<input type="hidden" name="' . htmlspecialchars($parameterArray['itemFormElName']) . '" value="">';
133
+            $html[] = '<input type="hidden" name="' . htmlspecialchars($parameterArray['itemFormElName']) . '" value="">';
134 134
         }
135
-        $html[] =               $selectElement;
136
-        $html[] =           '</div>';
135
+        $html[] = $selectElement;
136
+        $html[] = '</div>';
137 137
         if (!$disabled) {
138 138
             if (!empty($fieldControlHtml)) {
139
-                $html[] =       '<div class="form-wizards-items-aside">';
140
-                $html[] =           $fieldControlHtml;
141
-                $html[] =       '</div>';
139
+                $html[] = '<div class="form-wizards-items-aside">';
140
+                $html[] = $fieldControlHtml;
141
+                $html[] = '</div>';
142 142
             }
143 143
             $html[] = '</div>'; // Close form-wizards-aside
144
-            $html[] =   '<p>';
145
-            $html[] =       '<em>' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.holdDownCTRL')) . '</em>';
146
-            $html[] =   '</p>';
144
+            $html[] = '<p>';
145
+            $html[] = '<em>' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.holdDownCTRL')) . '</em>';
146
+            $html[] = '</p>';
147 147
             if (!empty($fieldWizardHtml)) {
148 148
                 $html[] = '<div class="form-wizards-items-bottom">';
149 149
                 $html[] = $fieldWizardHtml;
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
         } else {
153 153
             $html[] = '</div>'; // Close form-wizards-aside
154 154
         }
155
-        $html[] =   '</div>';
155
+        $html[] = '</div>';
156 156
         $html[] = '</div>';
157 157
 
158 158
         $resultArray['html'] = implode(LF, $html);
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
 
199 199
         $html = [];
200 200
         $html[] = '<select ' . GeneralUtility::implodeAttributes($attributes, true) . '>';
201
-        $html[] =   implode(LF, $optionElements);
201
+        $html[] = implode(LF, $optionElements);
202 202
         $html[] = '</select>';
203 203
 
204 204
         return implode(LF, $html);
Please login to merge, or discard this patch.