Passed
Push — master ( a3c3e9...b28ab0 )
by
unknown
16:13
created
typo3/sysext/backend/Classes/View/BackendLayout/ContentFetcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
             $untranslatedRecordUids = array_flip(
160 160
                 array_column(
161 161
                     // Eliminate records with "-1" as sys_language_uid since they can not be translated
162
-                    array_filter($contentRecordsInDefaultLanguage, static function (array $record): bool {
162
+                    array_filter($contentRecordsInDefaultLanguage, static function(array $record): bool {
163 163
                         return (int)($record['sys_language_uid'] ?? 0) !== -1;
164 164
                     }),
165 165
                     'uid'
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FormDataProvider/AbstractItemProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
         return ArrayUtility::keepItemsInArray(
404 404
             $items,
405 405
             $result['pageTsConfig']['TCEFORM.'][$table . '.'][$fieldName . '.']['keepItems'],
406
-            function ($value) {
406
+            function($value) {
407 407
                 return $value[1];
408 408
             }
409 409
         );
@@ -551,7 +551,7 @@  discard block
 block discarded – undo
551 551
         }
552 552
 
553 553
         $allowedStorageIds = array_map(
554
-            function (ResourceStorage $storage) {
554
+            function(ResourceStorage $storage) {
555 555
                 return $storage->getUid();
556 556
             },
557 557
             $this->getBackendUser()->getFileStorages()
@@ -559,7 +559,7 @@  discard block
 block discarded – undo
559 559
 
560 560
         return array_filter(
561 561
             $items,
562
-            function (array $item) use ($allowedStorageIds) {
562
+            function(array $item) use ($allowedStorageIds) {
563 563
                 $itemValue = $item[1] ?? null;
564 564
                 return empty($itemValue)
565 565
                     || in_array((int)$itemValue, $allowedStorageIds, true);
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Hooks/TcaItemsProcessorFunctions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -328,7 +328,7 @@
 block discarded – undo
328 328
             }
329 329
             // Sort fields by the translated value
330 330
             if (!empty($excludeFieldGroup)) {
331
-                usort($excludeFieldGroup, static function (array $array1, array $array2) {
331
+                usort($excludeFieldGroup, static function(array $array1, array $array2) {
332 332
                     $array1 = reset($array1);
333 333
                     $array2 = reset($array2);
334 334
                     if (is_string($array1) && is_string($array2)) {
Please login to merge, or discard this patch.
typo3/sysext/lowlevel/Classes/ServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@
 block discarded – undo
38 38
     public function getFactories(): array
39 39
     {
40 40
         return [
41
-            Controller\ConfigurationController::class => [ static::class, 'getConfigurationController' ],
42
-            Controller\DatabaseIntegrityController::class => [ static::class, 'getDatabaseIntegrityController' ],
41
+            Controller\ConfigurationController::class => [static::class, 'getConfigurationController'],
42
+            Controller\DatabaseIntegrityController::class => [static::class, 'getDatabaseIntegrityController'],
43 43
         ];
44 44
     }
45 45
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Controller/Page/TreeController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
         }
140 140
         if ($request->getQueryParams()['alternativeEntryPoints'] ?? false) {
141 141
             $this->alternativeEntryPoints = $request->getQueryParams()['alternativeEntryPoints'];
142
-            $this->alternativeEntryPoints = array_filter($this->alternativeEntryPoints, function ($pageId) {
142
+            $this->alternativeEntryPoints = array_filter($this->alternativeEntryPoints, function($pageId) {
143 143
                 return $this->getBackendUser()->isInWebMount($pageId) !== null;
144 144
             });
145 145
             $this->alternativeEntryPoints = array_map('intval', $this->alternativeEntryPoints);
Please login to merge, or discard this patch.
typo3/sysext/recordlist/Classes/Browser/DatabaseBrowser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
     public function render()
78 78
     {
79 79
         $this->modTSconfig = BackendUtility::getPagesTSconfig((int)$this->expandPage)['mod.']['web_list.'] ?? [];
80
-        [, , , $allowedTables] = explode('|', $this->bparams);
80
+        [,,, $allowedTables] = explode('|', $this->bparams);
81 81
 
82 82
         $withTree = true;
83 83
         if ($allowedTables !== '' && $allowedTables !== '*') {
Please login to merge, or discard this patch.
typo3/sysext/workspaces/Classes/Service/GridDataService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
         $this->generateDataArray($versions, $filterTxt);
122 122
         return [
123 123
             // Only count parent records for pagination
124
-            'total' => count(array_filter($this->dataArray, static function ($element) {
124
+            'total' => count(array_filter($this->dataArray, static function($element) {
125 125
                 return (int)($element[self::GridColumn_CollectionLevel] ?? 0) === 0;
126 126
             })),
127 127
             'data' =>  $this->getDataArray($start, $limit)
@@ -591,7 +591,7 @@  discard block
 block discarded – undo
591 591
                 break;
592 592
             default:
593 593
                 if (!$hasDiff) {
594
-                    $state =  'unchanged';
594
+                    $state = 'unchanged';
595 595
                 } else {
596 596
                     $state = ($hiddenState ?: 'modified');
597 597
                 }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Controller/ResetPasswordController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -181,9 +181,9 @@
 block discarded – undo
181 181
         $formUrl = $this->uriBuilder->buildUriWithRedirectFromRequest(
182 182
             'password_reset_finish',
183 183
             array_filter(array_merge($parameters, [
184
-               't' => $token,
185
-               'i' => $identity,
186
-               'e' => $expirationDate
184
+                't' => $token,
185
+                'i' => $identity,
186
+                'e' => $expirationDate
187 187
             ])),
188 188
             $request
189 189
         );
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/LoginProvider/LoginProviderResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
             }
80 80
         }
81 81
         // sort providers
82
-        uasort($providers, static function ($a, $b) {
82
+        uasort($providers, static function($a, $b) {
83 83
             return $b['sorting'] - $a['sorting'];
84 84
         });
85 85
         return $providers;
Please login to merge, or discard this patch.