Test Failed
Branch master (e0e8ab)
by Tymoteusz
23:10
created
typo3/sysext/backend/Classes/View/PageLayoutView.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1563,7 +1563,7 @@
 block discarded – undo
1563 1563
                 }
1564 1564
                 // Delete
1565 1565
                 $disableDeleteTS = $this->getBackendUser()->getTSConfig('options.disableDelete');
1566
-                $disableDelete = (bool) trim(isset($disableDeleteTS['properties']['tt_content']) ? $disableDeleteTS['properties']['tt_content'] : $disableDeleteTS['value']);
1566
+                $disableDelete = (bool)trim(isset($disableDeleteTS['properties']['tt_content']) ? $disableDeleteTS['properties']['tt_content'] : $disableDeleteTS['value']);
1567 1567
                 if (!$disableDelete) {
1568 1568
                     $params = '&cmd[tt_content][' . $row['uid'] . '][delete]=1';
1569 1569
                     $confirm = $this->getLanguageService()->getLL('deleteWarning')
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1535,7 +1535,7 @@
 block discarded – undo
1535 1535
                     $params = '&cmd[tt_content][' . $row['uid'] . '][delete]=1';
1536 1536
                     $confirm = $this->getLanguageService()->getLL('deleteWarning')
1537 1537
                         . BackendUtility::translationCount('tt_content', $row['uid'], (' '
1538
-                                                                                       . $this->getLanguageService()->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.translationsOfRecord')));
1538
+                                                                                        . $this->getLanguageService()->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.translationsOfRecord')));
1539 1539
                     $out .= '<a class="btn btn-default t3js-modal-trigger" href="' . htmlspecialchars(BackendUtility::getLinkToDataHandlerAction($params)) . '"'
1540 1540
                         . ' data-severity="warning"'
1541 1541
                         . ' data-title="' . htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:lang/Resources/Private/Language/locallang_alt_doc.xlf:label.confirm.delete_record.title')) . '"'
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/backend/Classes/History/RecordHistory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -432,7 +432,7 @@
 block discarded – undo
432 432
 
433 433
             // Diff link
434 434
             $image = $this->iconFactory->getIcon('actions-document-history-open', Icon::SIZE_SMALL)->render();
435
-            $singleLine['rollbackLink']= $this->linkPage($image, ['diff' => $sysLogUid]);
435
+            $singleLine['rollbackLink'] = $this->linkPage($image, ['diff' => $sysLogUid]);
436 436
             // remove first link
437 437
             $singleLine['time'] = htmlspecialchars(BackendUtility::datetime($entry['tstamp']));
438 438
             // add time
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Utility/DebuggerUtility.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
         } else {
266 266
             $dump .= '<span class="extbase-debug-type">' . $className . '</span>';
267 267
         }
268
-        if (! $object instanceof \Closure) {
268
+        if (!$object instanceof \Closure) {
269 269
             if ($object instanceof \TYPO3\CMS\Core\SingletonInterface) {
270 270
                 $scope = 'singleton';
271 271
             } else {
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
                     $dump .= '<span class="extbase-debug-closure">) {' . PHP_EOL . '</span>';
403 403
                 }
404 404
                 $lines = file($reflectionFunction->getFileName());
405
-                for ($l = $reflectionFunction->getStartLine(); $l < $reflectionFunction->getEndLine() -1; ++$l) {
405
+                for ($l = $reflectionFunction->getStartLine(); $l < $reflectionFunction->getEndLine() - 1; ++$l) {
406 406
                     $dump .= $plainText ? $lines[$l] : htmlspecialchars($lines[$l]);
407 407
                 }
408 408
                 $dump .= str_repeat(self::PLAINTEXT_INDENT, $level);
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/workspaces/Classes/Controller/Remote/AbstractHandler.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      * Validates whether the submitted language parameter can be
65 65
      * interpreted as integer value.
66 66
      *
67
-     * @param stdClass $parameters
67
+     * @param \stdClass $parameters
68 68
      * @return int|NULL
69 69
      */
70 70
     protected function validateLanguageParameter(\stdClass $parameters)
@@ -82,8 +82,8 @@  discard block
 block discarded – undo
82 82
      * and the default origin record - thus, the default record would be
83 83
      * affected if the translation overlay shall be published.
84 84
      *
85
-     * @param stdClass $parameters
86
-     * @return array
85
+     * @param \stdClass $parameters
86
+     * @return \TYPO3\CMS\Workspaces\Domain\Model\CombinedRecord[]
87 87
      */
88 88
     protected function getAffectedElements(\stdClass $parameters)
89 89
     {
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.