Passed
Push — master ( 16c5ca...ef2180 )
by
unknown
13:09
created
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.