Passed
Push — master ( 60c68e...a4c468 )
by
unknown
42:19 queued 16:52
created
typo3/sysext/extbase/Classes/Configuration/BackendConfigurationManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -266,7 +266,7 @@
 block discarded – undo
266 266
             $startPid = abs($startPid);
267 267
             $recursiveStoragePids = array_merge(
268 268
                 $recursiveStoragePids,
269
-                [ $startPid ],
269
+                [$startPid],
270 270
                 $this->getPageChildrenRecursive($startPid, $recursionDepth, 0, $permsClause)
271 271
             );
272 272
         }
Please login to merge, or discard this patch.
typo3/sysext/workspaces/Classes/Service/WorkspaceService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -527,7 +527,7 @@  discard block
 block discarded – undo
527 527
         );
528 528
         if ($pageId > 0) {
529 529
             $pageList = array_merge(
530
-                [ (int)$pageId ],
530
+                [(int)$pageId],
531 531
                 $this->getPageChildrenRecursive((int)$pageId, (int)$recursionLevel, 0, $permsClause)
532 532
             );
533 533
         } else {
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
             foreach ($mountPoints as $mountPoint) {
541 541
                 $pageList = array_merge(
542 542
                     $pageList
543
-                    [ (int)$mountPoint ],
543
+                    [(int)$mountPoint],
544 544
                     $this->getPageChildrenRecursive((int)$mountPoint, (int)$recursionLevel, 0, $permsClause)
545 545
                 );
546 546
             }
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
@@ -1436,7 +1436,7 @@  discard block
 block discarded – undo
1436 1436
         if (in_array('table', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableSelectATable']) {
1437 1437
             $out[] = '<div class="form-group">';
1438 1438
             $out[] = '	<label for="SET[queryTable]">Select a table:</label>';
1439
-            $out[] =    $this->mkTableSelect('SET[queryTable]', $this->table);
1439
+            $out[] = $this->mkTableSelect('SET[queryTable]', $this->table);
1440 1440
             $out[] = '</div>';
1441 1441
         }
1442 1442
         if ($this->table) {
@@ -1476,19 +1476,19 @@  discard block
 block discarded – undo
1476 1476
             if (in_array('fields', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableSelectFields']) {
1477 1477
                 $out[] = '<div class="form-group form-group-with-button-addon">';
1478 1478
                 $out[] = '	<label for="SET[queryFields]">Select fields:</label>';
1479
-                $out[] =    $this->mkFieldToInputSelect('SET[queryFields]', $this->extFieldLists['queryFields']);
1479
+                $out[] = $this->mkFieldToInputSelect('SET[queryFields]', $this->extFieldLists['queryFields']);
1480 1480
                 $out[] = '</div>';
1481 1481
             }
1482 1482
             if (in_array('query', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableMakeQuery']) {
1483 1483
                 $out[] = '<div class="form-group">';
1484 1484
                 $out[] = '	<label>Make Query:</label>';
1485
-                $out[] =    $queryCode;
1485
+                $out[] = $queryCode;
1486 1486
                 $out[] = '</div>';
1487 1487
             }
1488 1488
             if (in_array('group', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableGroupBy']) {
1489 1489
                 $out[] = '<div class="form-group form-inline">';
1490 1490
                 $out[] = '	<label for="SET[queryGroup]">Group By:</label>';
1491
-                $out[] =     $this->mkTypeSelect('SET[queryGroup]', $this->extFieldLists['queryGroup'], '');
1491
+                $out[] = $this->mkTypeSelect('SET[queryGroup]', $this->extFieldLists['queryGroup'], '');
1492 1492
                 $out[] = '</div>';
1493 1493
             }
1494 1494
             if (in_array('order', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableOrderBy']) {
@@ -1497,7 +1497,7 @@  discard block
 block discarded – undo
1497 1497
                 $orderBy[] = $this->mkTypeSelect('SET[queryOrder]', $orderByArr[0], '');
1498 1498
                 $orderBy[] = '<div class="checkbox">';
1499 1499
                 $orderBy[] = '	<label for="checkQueryOrderDesc">';
1500
-                $orderBy[] =        BackendUtility::getFuncCheck(0, 'SET[queryOrderDesc]', $modSettings['queryOrderDesc'], '', '', 'id="checkQueryOrderDesc"') . ' Descending';
1500
+                $orderBy[] = BackendUtility::getFuncCheck(0, 'SET[queryOrderDesc]', $modSettings['queryOrderDesc'], '', '', 'id="checkQueryOrderDesc"') . ' Descending';
1501 1501
                 $orderBy[] = '	</label>';
1502 1502
                 $orderBy[] = '</div>';
1503 1503
 
@@ -1505,13 +1505,13 @@  discard block
 block discarded – undo
1505 1505
                     $orderBy[] = $this->mkTypeSelect('SET[queryOrder2]', $orderByArr[1], '');
1506 1506
                     $orderBy[] = '<div class="checkbox">';
1507 1507
                     $orderBy[] = '	<label for="checkQueryOrder2Desc">';
1508
-                    $orderBy[] =        BackendUtility::getFuncCheck(0, 'SET[queryOrder2Desc]', $modSettings['queryOrder2Desc'], '', '', 'id="checkQueryOrder2Desc"') . ' Descending';
1508
+                    $orderBy[] = BackendUtility::getFuncCheck(0, 'SET[queryOrder2Desc]', $modSettings['queryOrder2Desc'], '', '', 'id="checkQueryOrder2Desc"') . ' Descending';
1509 1509
                     $orderBy[] = '	</label>';
1510 1510
                     $orderBy[] = '</div>';
1511 1511
                 }
1512 1512
                 $out[] = '<div class="form-group form-inline">';
1513 1513
                 $out[] = '	<label>Order By:</label>';
1514
-                $out[] =     implode(LF, $orderBy);
1514
+                $out[] = implode(LF, $orderBy);
1515 1515
                 $out[] = '</div>';
1516 1516
             }
1517 1517
             if (in_array('limit', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableLimit']) {
@@ -1545,10 +1545,10 @@  discard block
 block discarded – undo
1545 1545
                 $out[] = '<div class="form-group">';
1546 1546
                 $out[] = '	<label>Limit:</label>';
1547 1547
                 $out[] = '	<div class="form-inline">';
1548
-                $out[] =        implode(LF, $limit);
1548
+                $out[] = implode(LF, $limit);
1549 1549
                 $out[] = '		<div class="btn-group t3js-limit-submit">';
1550
-                $out[] =            $prevButton;
1551
-                $out[] =            $nextButton;
1550
+                $out[] = $prevButton;
1551
+                $out[] = $nextButton;
1552 1552
                 $out[] = '		</div>';
1553 1553
                 $out[] = '		<div class="btn-group t3js-limit-submit">';
1554 1554
                 $out[] = '			<input type="button" class="btn btn-default" data-value="10" value="10">';
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Resource/Processing/LocalPreviewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 
52 52
         return array_filter(
53 53
             $configuration,
54
-            function ($value, $name) {
54
+            function($value, $name) {
55 55
                 return !empty($value) && in_array($name, ['width', 'height'], true);
56 56
             },
57 57
             ARRAY_FILTER_USE_BOTH
Please login to merge, or discard this patch.
typo3/sysext/viewpage/Classes/Controller/ViewModuleController.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,6 @@
 block discarded – undo
88 88
 
89 89
     /**
90 90
      * Register the doc header
91
-
92 91
      * @param int $pageId
93 92
      * @param int $languageId
94 93
      * @param string $targetUrl
Please login to merge, or discard this patch.
typo3/sysext/beuser/Classes/Controller/BackendUserGroupController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
                 'route' => GeneralUtility::_GP('route'),
73 73
                 'action' => $this->request->getControllerActionName(),
74 74
                 'controller' => $this->request->getControllerName(),
75
-                'compareGroupUidList' => array_map(static function ($value) { // uid as key and force value to 1
75
+                'compareGroupUidList' => array_map(static function($value) { // uid as key and force value to 1
76 76
                     return 1;
77 77
                 }, array_flip($compareGroupUidList)),
78 78
                 'compareGroupList' => !empty($compareGroupUidList) ? $this->backendUserGroupRepository->findByUidList($compareGroupUidList) : [],
Please login to merge, or discard this patch.
typo3/sysext/extensionmanager/Classes/Controller/ActionController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
                     $this->redirect('unresolvedDependencies', 'List', null, ['extensionKey' => $extensionKey]);
111 111
                 }
112 112
             }
113
-        } catch (ExtensionManagerException|PackageStatesFileNotWritableException $e) {
113
+        } catch (ExtensionManagerException | PackageStatesFileNotWritableException $e) {
114 114
             $this->addFlashMessage($e->getMessage(), '', FlashMessage::ERROR);
115 115
         }
116 116
         $this->redirect('index', 'List', null, [
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
                     ]
157 157
                 ) ?? ''
158 158
             );
159
-        } catch (ExtensionManagerException|Exception $e) {
159
+        } catch (ExtensionManagerException | Exception $e) {
160 160
             $this->addFlashMessage($e->getMessage(), '', FlashMessage::ERROR);
161 161
         }
162 162
 
Please login to merge, or discard this patch.
typo3/sysext/install/Classes/Service/EnableFileService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
     {
191 191
         $files = scandir(Environment::getPublicPath() . '/');
192 192
         $files = is_array($files) ? $files : [];
193
-        $files = array_filter($files, function ($file) {
193
+        $files = array_filter($files, function($file) {
194 194
             return @is_file(Environment::getPublicPath() . '/' . $file) && preg_match('~^' . self::FIRST_INSTALL_FILE_PATH . '.*~i', $file);
195 195
         });
196 196
         return $files;
Please login to merge, or discard this patch.
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php 2 patches
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
      * @internal
178 178
      * @var array
179 179
      */
180
-    protected $moduleData =  [];
180
+    protected $moduleData = [];
181 181
 
182 182
     /**
183 183
      * Page id
@@ -1000,7 +1000,7 @@  discard block
 block discarded – undo
1000 1000
                     if ($totalItems > $itemsLimitPerTable) {
1001 1001
                         $countOnFirstPage = $totalItems > $itemsLimitSingleTable ? $itemsLimitSingleTable : $totalItems;
1002 1002
                         $hasMore = $totalItems > $itemsLimitSingleTable;
1003
-                        $colspan =  (count($this->fieldArray) + 1);
1003
+                        $colspan = (count($this->fieldArray) + 1);
1004 1004
                         $rowOutput .= '<tr><td colspan="' . $colspan . '">
1005 1005
 								<a href="' . htmlspecialchars($this->listURL() . '&table=' . rawurlencode($tableIdentifier)) . '" class="btn btn-default">'
1006 1006
                             . '<span class="t3-icon fa fa-chevron-down"></span> <i>[1 - ' . $countOnFirstPage . ($hasMore ? '+' : '') . ']</i></a>
@@ -1263,7 +1263,7 @@  discard block
 block discarded – undo
1263 1263
         }
1264 1264
 
1265 1265
         $tagAttributes = array_map(
1266
-            function ($attributeValue) {
1266
+            function($attributeValue) {
1267 1267
                 if (is_array($attributeValue)) {
1268 1268
                     return implode(' ', $attributeValue);
1269 1269
                 }
@@ -1841,7 +1841,7 @@  discard block
 block discarded – undo
1841 1841
                         $params = [
1842 1842
                             'edit' => [
1843 1843
                                 $table => [
1844
-                                    (0-($row['_MOVE_PLH'] ? $row['_MOVE_PLH_uid'] : $row['uid'])) => 'new'
1844
+                                    (0 - ($row['_MOVE_PLH'] ? $row['_MOVE_PLH_uid'] : $row['uid'])) => 'new'
1845 1845
                                 ]
1846 1846
                             ],
1847 1847
                             'returnUrl' => $this->listURL()
@@ -2217,8 +2217,8 @@  discard block
 block discarded – undo
2217 2217
         $possibleTranslations = $this->possibleTranslations;
2218 2218
         if ($table === 'pages') {
2219 2219
             // Calculate possible translations for pages
2220
-            $possibleTranslations = array_map(static function ($siteLanguage) { return $siteLanguage->getLanguageId(); }, $this->languagesAllowedForUser);
2221
-            $possibleTranslations = array_filter($possibleTranslations, static function ($languageUid) { return $languageUid > 0;});
2220
+            $possibleTranslations = array_map(static function($siteLanguage) { return $siteLanguage->getLanguageId(); }, $this->languagesAllowedForUser);
2221
+            $possibleTranslations = array_filter($possibleTranslations, static function($languageUid) { return $languageUid > 0; });
2222 2222
         }
2223 2223
 
2224 2224
         // Traverse page translations and add icon for each language that does NOT yet exist and is included in site configuration:
@@ -2264,7 +2264,7 @@  discard block
 block discarded – undo
2264 2264
     {
2265 2265
         $lang = $this->getLanguageService();
2266 2266
         // Load already selected fields, if any:
2267
-        $setFields = (array)($this->setFields[$table]?? []);
2267
+        $setFields = (array)($this->setFields[$table] ?? []);
2268 2268
         // Request fields from table:
2269 2269
         $fields = $this->makeFieldList($table, false, true);
2270 2270
         // Add pseudo "control" fields
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1688,7 +1688,7 @@
 block discarded – undo
1688 1688
             if (!$isDeletePlaceHolder) {
1689 1689
                 $attributes = $this->getPreviewUriBuilder($table, $row)->serializeDispatcherAttributes();
1690 1690
                 $viewAction = '<a class="btn btn-default" href="#" ' . $attributes
1691
-                     . ' title="' . htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.showPage')) . '">';
1691
+                        . ' title="' . htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.showPage')) . '">';
1692 1692
                 if ($table === 'pages') {
1693 1693
                     $viewAction .= $this->iconFactory->getIcon('actions-view-page', Icon::SIZE_SMALL)->render();
1694 1694
                 } else {
Please login to merge, or discard this patch.