Passed
Branch master (311f62)
by Christian
15:56
created
scheduler/Classes/Task/OptimizeDatabaseTableAdditionalFieldProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
                 $connection = $connectionPool->getConnectionByName($connectionName);
167 167
                 $tablesOnConnection = array_keys(array_filter(
168 168
                     $tableMap,
169
-                    function ($value) use ($connectionName) {
169
+                    function($value) use ($connectionName) {
170 170
                         return $value === $connectionName;
171 171
                     }
172 172
                 ));
Please login to merge, or discard this patch.
backend/Classes/Controller/ContentElement/NewContentElementController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
                         // Onclick action for icon/title:
271 271
                         $aOnClick = 'document.getElementsByName(\'tempB\')[' . $cc . '].checked=1;' . $wizardOnClick . 'return false;';
272 272
                     } else {
273
-                        $aOnClick = "document.editForm.defValues.value=unescape('" . rawurlencode($wInfo['params']) . "');goToalt_doc();" . (!$this->onClickEvent?"window.location.hash='#sel2';":'');
273
+                        $aOnClick = "document.editForm.defValues.value=unescape('" . rawurlencode($wInfo['params']) . "');goToalt_doc();" . (!$this->onClickEvent ? "window.location.hash='#sel2';" : '');
274 274
                     }
275 275
 
276 276
                     $icon = $this->moduleTemplate->getIconFactory()->getIcon($wInfo['iconIdentifier'])->render();
@@ -544,7 +544,7 @@  discard block
 block discarded – undo
544 544
     {
545 545
         if (isset($wizardGroup[$key])) {
546 546
             $wizardGroup[$key] = GeneralUtility::trimExplode(',', $wizardGroup[$key]);
547
-            $wizardGroup[$key] = array_map(function ($s) {
547
+            $wizardGroup[$key] = array_map(function($s) {
548 548
                 return $s . '.';
549 549
             }, $wizardGroup[$key]);
550 550
         }
Please login to merge, or discard this patch.
typo3/sysext/indexed_search/Classes/Controller/SearchController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1153,7 +1153,7 @@
 block discarded – undo
1153 1153
                     ->execute();
1154 1154
 
1155 1155
                 while ($row = $result->fetch()) {
1156
-                    $allOptions[$row['uid']]= $row['title'];
1156
+                    $allOptions[$row['uid']] = $row['title'];
1157 1157
                 }
1158 1158
             }
1159 1159
             // disable single entries by TypoScript
Please login to merge, or discard this patch.
typo3/sysext/fluid/Classes/ViewHelpers/Debug/RenderViewHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,8 @@
 block discarded – undo
61 61
     {
62 62
         $section = $this->arguments['section'];
63 63
         $partial = $this->arguments['partial'];
64
-        $arguments = (array) $this->arguments['arguments'];
65
-        $optional = (boolean) $this->arguments['optional'];
64
+        $arguments = (array)$this->arguments['arguments'];
65
+        $optional = (boolean)$this->arguments['optional'];
66 66
         $contentAs = $this->arguments['contentAs'];
67 67
         $tagContent = $this->renderChildren();
68 68
 
Please login to merge, or discard this patch.
typo3/sysext/workspaces/Classes/Service/WorkspaceService.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -485,7 +485,7 @@
 block discarded – undo
485 485
 
486 486
         if ($pageList) {
487 487
             $pidField = $table === 'pages' ? 'B.uid' : 'A.pid';
488
-            $constraints[] =  $queryBuilder->expr()->in(
488
+            $constraints[] = $queryBuilder->expr()->in(
489 489
                 $pidField,
490 490
                 $queryBuilder->createNamedParameter(
491 491
                     GeneralUtility::intExplode(',', $pageList, true),
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1029,7 +1029,7 @@
 block discarded – undo
1029 1029
 
1030 1030
             $movePointerParameter = $queryBuilder->createNamedParameter(
1031 1031
                 VersionState::MOVE_POINTER,
1032
-               \PDO::PARAM_INT
1032
+                \PDO::PARAM_INT
1033 1033
             );
1034 1034
             $workspaceIdParameter = $queryBuilder->createNamedParameter(
1035 1035
                 $workspaceId,
Please login to merge, or discard this patch.
typo3/sysext/opendocs/Classes/Backend/ToolbarItems/OpendocsToolbarItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
         $backendUser = $this->getBackendUser();
66 66
         $openDocs = $backendUser->getModuleData('FormEngine', 'ses');
67 67
         if ($openDocs !== null) {
68
-            list($this->openDocs, ) = $openDocs;
68
+            list($this->openDocs,) = $openDocs;
69 69
         }
70 70
         $this->recentDocs = $backendUser->getModuleData('opendocs::recent') ?: [];
71 71
     }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Controller/EditDocumentController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1634,8 +1634,8 @@
 block discarded – undo
1634 1634
                             }
1635 1635
                             if ($addOption) {
1636 1636
                                 $menuItem = $languageMenu->makeMenuItem()
1637
-                                                         ->setTitle($lang['title'] . $newTranslation)
1638
-                                                         ->setHref($href);
1637
+                                                            ->setTitle($lang['title'] . $newTranslation)
1638
+                                                            ->setHref($href);
1639 1639
                                 if ((int)$lang['uid'] === $currentLanguage) {
1640 1640
                                     $menuItem->setActive(true);
1641 1641
                                 }
Please login to merge, or discard this patch.
typo3/sysext/form/Classes/Domain/Runtime/FormRuntime.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Form\Domain\Runtime;
4 4
 
5 5
 /*
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
         $requestArguments = $this->request->getArguments();
396 396
 
397 397
         $propertyPathsForWhichPropertyMappingShouldHappen = [];
398
-        $registerPropertyPaths = function ($propertyPath) use (&$propertyPathsForWhichPropertyMappingShouldHappen) {
398
+        $registerPropertyPaths = function($propertyPath) use (&$propertyPathsForWhichPropertyMappingShouldHappen) {
399 399
             $propertyPathParts = explode('.', $propertyPath);
400 400
             $accumulatedPropertyPathParts = [];
401 401
             foreach ($propertyPathParts as $propertyPathPart) {
@@ -413,7 +413,7 @@  discard block
 block discarded – undo
413 413
         }
414 414
 
415 415
         // The more parts the path has, the more early it is processed
416
-        usort($propertyPathsForWhichPropertyMappingShouldHappen, function ($a, $b) {
416
+        usort($propertyPathsForWhichPropertyMappingShouldHappen, function($a, $b) {
417 417
             return substr_count($b, '.') - substr_count($a, '.');
418 418
         });
419 419
 
Please login to merge, or discard this patch.
form/Classes/Mvc/Property/TypeConverter/UploadedFileReferenceConverter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Form\Mvc\Property\TypeConverter;
4 4
 
5 5
 /*
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
         $conflictMode = $configuration->getConfigurationValue(self::class, self::CONFIGURATION_UPLOAD_CONFLICT_MODE) ?: $this->defaultConflictMode;
198 198
 
199 199
         $uploadFolder = $this->resourceFactory->retrieveFileOrFolderObject($uploadFolderId);
200
-        $uploadedFile =  $uploadFolder->addUploadedFile($uploadInfo, $conflictMode);
200
+        $uploadedFile = $uploadFolder->addUploadedFile($uploadInfo, $conflictMode);
201 201
 
202 202
         $validators = $configuration->getConfigurationValue(self::class, self::CONFIGURATION_FILE_VALIDATORS);
203 203
         if (is_array($validators)) {
Please login to merge, or discard this patch.