Passed
Push — master ( b8dac1...9827a7 )
by
unknown
24:45 queued 10:04
created
typo3/sysext/core/Classes/Http/Stream.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -344,7 +344,7 @@
 block discarded – undo
344 344
     {
345 345
         $error = null;
346 346
         if (!is_resource($resource) && is_string($resource)) {
347
-            set_error_handler(function ($e) use (&$error): bool {
347
+            set_error_handler(function($e) use (&$error): bool {
348 348
                 $error = $e;
349 349
                 return true;
350 350
             }, E_WARNING);
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaSelectItems.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
                     $direction = strtolower($direction);
294 294
                     @usort(
295 295
                         $items,
296
-                        function ($item1, $item2) use ($direction) {
296
+                        function($item1, $item2) use ($direction) {
297 297
                             if ($direction === 'desc') {
298 298
                                 return (strcasecmp($item1[0], $item2[0]) <= 0) ? 1 : 0;
299 299
                             }
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
                     $direction = strtolower($direction);
306 306
                     @usort(
307 307
                         $items,
308
-                        function ($item1, $item2) use ($direction) {
308
+                        function($item1, $item2) use ($direction) {
309 309
                             if ($direction === 'desc') {
310 310
                                 return (strcasecmp($item1[1], $item2[1]) <= 0) ? 1 : 0;
311 311
                             }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Controller/FileStorage/TreeController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         } else {
65 65
             $items = $this->treeProvider->getRootNodes($this->getBackendUser());
66 66
         }
67
-        $items = array_map(function (array $item) {
67
+        $items = array_map(function(array $item) {
68 68
             return $this->prepareItemForOutput($item);
69 69
         }, $items);
70 70
         return new JsonResponse($items);
@@ -128,14 +128,14 @@  discard block
 block discarded – undo
128 128
         foreach ($items as $item) {
129 129
             $stateIdentifier = $item['stateIdentifier'];
130 130
             $parentIdentifier = $item['parentIdentifier'];
131
-            $siblings = array_filter($items, function ($itemInArray) use ($parentIdentifier) {
131
+            $siblings = array_filter($items, function($itemInArray) use ($parentIdentifier) {
132 132
                 if ($itemInArray['parentIdentifier'] === $parentIdentifier) {
133 133
                     return true;
134 134
                 }
135 135
                 return false;
136 136
             });
137 137
             $positionFound = false;
138
-            $siblingsBeforeInSameDepth = array_filter($siblings, function ($itemInArray) use ($stateIdentifier, &$positionFound): bool {
138
+            $siblingsBeforeInSameDepth = array_filter($siblings, function($itemInArray) use ($stateIdentifier, &$positionFound): bool {
139 139
                 if ($itemInArray['stateIdentifier'] === $stateIdentifier) {
140 140
                     $positionFound = true;
141 141
                     return false;
Please login to merge, or discard this patch.