Test Failed
Branch master (137376)
by Tymoteusz
20:39
created
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 1 patch
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.
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/core/Classes/Authentication/BackendUserAuthentication.php 2 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.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1991,13 +1991,13 @@
 block discarded – undo
1991 1991
     }
1992 1992
 
1993 1993
     /**
1994
-    * Returns a \TYPO3\CMS\Core\Resource\Folder object that could be used for uploading
1995
-    * temporary files in user context. The folder _temp_ below the default upload folder
1996
-    * of the user is used.
1997
-    *
1998
-    * @return \TYPO3\CMS\Core\Resource\Folder|null
1999
-    * @see \TYPO3\CMS\Core\Authentication\BackendUserAuthentication::getDefaultUploadFolder();
2000
-    */
1994
+     * Returns a \TYPO3\CMS\Core\Resource\Folder object that could be used for uploading
1995
+     * temporary files in user context. The folder _temp_ below the default upload folder
1996
+     * of the user is used.
1997
+     *
1998
+     * @return \TYPO3\CMS\Core\Resource\Folder|null
1999
+     * @see \TYPO3\CMS\Core\Authentication\BackendUserAuthentication::getDefaultUploadFolder();
2000
+     */
2001 2001
     public function getDefaultUploadTemporaryFolder()
2002 2002
     {
2003 2003
         $defaultTemporaryFolder = null;
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Compatibility/LoadedExtensionsArray.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -224,7 +224,7 @@
 block discarded – undo
224 224
     public function toArray()
225 225
     {
226 226
         return array_map(
227
-            function ($loadedExtElement) {
227
+            function($loadedExtElement) {
228 228
                 return $loadedExtElement->toArray();
229 229
             },
230 230
             iterator_to_array($this)
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.
typo3/sysext/core/Classes/Http/Stream.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -342,7 +342,7 @@
 block discarded – undo
342 342
     {
343 343
         $error = null;
344 344
         if (!is_resource($resource) && is_string($resource)) {
345
-            set_error_handler(function ($e) use (&$error) {
345
+            set_error_handler(function($e) use (&$error) {
346 346
                 $error = $e;
347 347
             }, E_WARNING);
348 348
             $resource = fopen($resource, $mode);
Please login to merge, or discard this patch.