Test Failed
Branch master (e0e8ab)
by Tymoteusz
23:10
created
typo3/sysext/workspaces/Classes/Service/IntegrityService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@
 block discarded – undo
204 204
      *
205 205
      * @param string $identifier Record identifier (table:id) for look-ups
206 206
      * @param bool $asString Return results as string instead of array
207
-     * @return array|string
207
+     * @return string
208 208
      */
209 209
     public function getIssueMessages($identifier = null, $asString = false)
210 210
     {
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Controller/LoginController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -468,7 +468,7 @@
 block discarded – undo
468 468
             }
469 469
         }
470 470
         // sort providers
471
-        uasort($providers, function ($a, $b) {
471
+        uasort($providers, function($a, $b) {
472 472
             return $b['sorting'] - $a['sorting'];
473 473
         });
474 474
         $this->loginProviders = $providers;
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Container/FlexFormTabsContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
                 continue;
56 56
             }
57 57
 
58
-            $tabCounter ++;
58
+            $tabCounter++;
59 59
 
60 60
             // Assemble key for loading the correct CSH file
61 61
             // @todo: what is that good for? That is for the title of single elements ... see FlexFormElementContainer!
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Module/ModuleLoader.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -347,7 +347,7 @@
 block discarded – undo
347 347
         // Check if this is a submodule
348 348
         $mainModule = '';
349 349
         if (strpos($name, '_') !== false) {
350
-            list($mainModule, ) = explode('_', $name, 2);
350
+            list($mainModule,) = explode('_', $name, 2);
351 351
         }
352 352
 
353 353
         // check if there is a navigation component (like the pagetree)
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@
 block discarded – undo
213 213
      * some additional configuration
214 214
      *
215 215
      * @param string $moduleName the combined name of the module, can be "web", "web_info", or "tools_log"
216
-     * @return array an array with subarrays, named "configuration" (aka $MCONF), "labels" (previously known as $MLANG) and the stripped path
216
+     * @return string an array with subarrays, named "configuration" (aka $MCONF), "labels" (previously known as $MLANG) and the stripped path
217 217
      */
218 218
     protected function getModuleSetupInformation($moduleName)
219 219
     {
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Security/CategoryPermissionsAspect.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
 
111 111
                 /** @var TreeNode $node */
112 112
                 $node = $this->lookUpCategoryMountPointInTreeNodes($categoryMountPoint, $treeNode->getChildNodes());
113
-                if (! is_null($node)) {
113
+                if (!is_null($node)) {
114 114
                     $result = $node;
115 115
                     break;
116 116
                 }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Tree/View/FolderTreeView.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -473,7 +473,7 @@
 block discarded – undo
473 473
         $out = '<ul class="list-tree list-tree-root">';
474 474
         // Evaluate AJAX request
475 475
         if (TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_AJAX) {
476
-            list(, $expandCollapseCommand, $expandedFolderHash, ) = $this->evaluateExpandCollapseParameter();
476
+            list(, $expandCollapseCommand, $expandedFolderHash,) = $this->evaluateExpandCollapseParameter();
477 477
             if ($expandCollapseCommand == 1) {
478 478
                 $doExpand = true;
479 479
             } else {
Please login to merge, or discard this patch.
typo3/sysext/beuser/Classes/Controller/PermissionController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
 
98 98
         // determine depth parameter
99 99
         $this->depth = ((int)GeneralUtility::_GP('depth') > 0)
100
-            ? (int) GeneralUtility::_GP('depth')
100
+            ? (int)GeneralUtility::_GP('depth')
101 101
             : $this->getBackendUser()->getSessionData(self::SESSION_PREFIX . 'depth');
102 102
         if ($this->request->hasArgument('depth')) {
103 103
             $this->depth = (int)$this->request->getArgument('depth');
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php 3 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1754,7 +1754,7 @@  discard block
 block discarded – undo
1754 1754
                 $userGroupRecordPermissions = GeneralUtility::trimExplode(',', $this->groupData['file_permissions'], true);
1755 1755
                 array_walk(
1756 1756
                     $userGroupRecordPermissions,
1757
-                    function ($permission) use (&$filePermissions) {
1757
+                    function($permission) use (&$filePermissions) {
1758 1758
                         $filePermissions[$permission] = true;
1759 1759
                     }
1760 1760
                 );
@@ -1764,7 +1764,7 @@  discard block
 block discarded – undo
1764 1764
                 if (!empty($permissionsTsConfig)) {
1765 1765
                     array_walk(
1766 1766
                         $permissionsTsConfig,
1767
-                        function ($value, $permission) use (&$filePermissions) {
1767
+                        function($value, $permission) use (&$filePermissions) {
1768 1768
                             $filePermissions[$permission] = (bool)$value;
1769 1769
                         }
1770 1770
                     );
@@ -1793,7 +1793,7 @@  discard block
 block discarded – undo
1793 1793
             if (!empty($storageFilePermissions)) {
1794 1794
                 array_walk(
1795 1795
                     $storageFilePermissions,
1796
-                    function ($value, $permission) use (&$finalUserPermissions) {
1796
+                    function($value, $permission) use (&$finalUserPermissions) {
1797 1797
                         $finalUserPermissions[$permission] = (bool)$value;
1798 1798
                     }
1799 1799
                 );
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -363,7 +363,7 @@  discard block
 block discarded – undo
363 363
      *
364 364
      * @param int $id Page ID to check
365 365
      * @param string $readPerms Content of "->getPagePermsClause(1)" (read-permissions). If not set, they will be internally calculated (but if you have the correct value right away you can save that database lookup!)
366
-     * @param bool|int $exitOnError If set, then the function will exit with an error message.
366
+     * @param integer $exitOnError If set, then the function will exit with an error message.
367 367
      * @throws \RuntimeException
368 368
      * @return int|NULL The page UID of a page in the rootline that matched a mount point
369 369
      */
@@ -2160,8 +2160,8 @@  discard block
 block discarded – undo
2160 2160
      * @param string $details Default text that follows the message (in english!). Possibly translated by identification through type/action/details_nr
2161 2161
      * @param array $data Data that follows the log. Might be used to carry special information. If an array the first 5 entries (0-4) will be sprintf'ed with the details-text
2162 2162
      * @param string $tablename Table name. Special field used by tce_main.php.
2163
-     * @param int|string $recuid Record UID. Special field used by tce_main.php.
2164
-     * @param int|string $recpid Record PID. Special field used by tce_main.php. OBSOLETE
2163
+     * @param integer $recuid Record UID. Special field used by tce_main.php.
2164
+     * @param integer $recpid Record PID. Special field used by tce_main.php. OBSOLETE
2165 2165
      * @param int $event_pid The page_uid (pid) where the event occurred. Used to select log-content for specific pages.
2166 2166
      * @param string $NEWid Special field used by tce_main.php. NEWid string of newly created records.
2167 2167
      * @param int $userId Alternative Backend User ID (used for logging login actions where this is not yet known).
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1947,13 +1947,13 @@
 block discarded – undo
1947 1947
     }
1948 1948
 
1949 1949
     /**
1950
-    * Returns a \TYPO3\CMS\Core\Resource\Folder object that could be used for uploading
1951
-    * temporary files in user context. The folder _temp_ below the default upload folder
1952
-    * of the user is used.
1953
-    *
1954
-    * @return NULL|\TYPO3\CMS\Core\Resource\Folder
1955
-    * @see \TYPO3\CMS\Core\Authentication\BackendUserAuthentication::getDefaultUploadFolder();
1956
-    */
1950
+     * Returns a \TYPO3\CMS\Core\Resource\Folder object that could be used for uploading
1951
+     * temporary files in user context. The folder _temp_ below the default upload folder
1952
+     * of the user is used.
1953
+     *
1954
+     * @return NULL|\TYPO3\CMS\Core\Resource\Folder
1955
+     * @see \TYPO3\CMS\Core\Authentication\BackendUserAuthentication::getDefaultUploadFolder();
1956
+     */
1957 1957
     public function getDefaultUploadTemporaryFolder()
1958 1958
     {
1959 1959
         $defaultTemporaryFolder = null;
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Http/Message.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
         foreach ($headers as $name => $headerValues) {
321 321
             $this->validateHeaderName($name);
322 322
             // check if all values are correct
323
-            array_walk($headerValues, function ($value, $key, Message $messageObject) {
323
+            array_walk($headerValues, function($value, $key, Message $messageObject) {
324 324
                 if (!$messageObject->isValidHeaderValue($value)) {
325 325
                     throw new \InvalidArgumentException('Invalid header value for header "' . $key . '"', 1436717268);
326 326
                 }
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
      */
361 361
     protected function arrayContainsOnlyStrings(array $data)
362 362
     {
363
-        return array_reduce($data, function ($original, $item) {
363
+        return array_reduce($data, function($original, $item) {
364 364
             return is_string($item) ? $original : false;
365 365
         }, true);
366 366
     }
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
      */
375 375
     protected function validateHeaderValues(array $values)
376 376
     {
377
-        array_walk($values, function ($value, $key, Message $messageObject) {
377
+        array_walk($values, function($value, $key, Message $messageObject) {
378 378
             if (!$messageObject->isValidHeaderValue($value)) {
379 379
                 throw new \InvalidArgumentException('Invalid header value for header "' . $key . '"', 1436717269);
380 380
             }
@@ -479,7 +479,7 @@  discard block
 block discarded – undo
479 479
             // 32-126, 128-254 === visible
480 480
             // 127 === DEL
481 481
             // 255 === null byte
482
-            if (($ascii < 32 && ! in_array($ascii, [9, 10, 13], true)) || $ascii === 127 || $ascii > 254) {
482
+            if (($ascii < 32 && !in_array($ascii, [9, 10, 13], true)) || $ascii === 127 || $ascii > 254) {
483 483
                 return false;
484 484
             }
485 485
         }
Please login to merge, or discard this patch.