Passed
Branch master (8bd60b)
by Christian
20:40
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/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.
typo3/sysext/core/Classes/Http/Uri.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -652,7 +652,7 @@  discard block
 block discarded – undo
652 652
     {
653 653
         return preg_replace_callback(
654 654
             '/(?:[^' . self::UNRESERVED_CHARLIST . ':@&=\+\$,\/;%]+|%(?![A-Fa-f0-9]{2}))/',
655
-            function ($matches) {
655
+            function($matches) {
656 656
                 return rawurlencode($matches[0]);
657 657
             },
658 658
             $path
@@ -730,7 +730,7 @@  discard block
 block discarded – undo
730 730
     {
731 731
         return preg_replace_callback(
732 732
             '/(?:[^' . self::UNRESERVED_CHARLIST . self::SUBDELIMITER_CHARLIST . '%:@\/\?]+|%(?![A-Fa-f0-9]{2}))/',
733
-            function ($matches) {
733
+            function($matches) {
734 734
                 return rawurlencode($matches[0]);
735 735
             },
736 736
             $value
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Validation/Validator/AbstractValidator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         // check for required options being set
67 67
         array_walk(
68 68
             $this->supportedOptions,
69
-            function ($supportedOptionData, $supportedOptionName, $options) {
69
+            function($supportedOptionData, $supportedOptionName, $options) {
70 70
                 if (isset($supportedOptionData[3]) && $supportedOptionData[3] === true && !array_key_exists($supportedOptionName, $options)) {
71 71
                     throw new InvalidValidationOptionsException('Required validation option not set: ' . $supportedOptionName, 1379981891);
72 72
                 }
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
         // merge with default values
78 78
         $this->options = array_merge(
79 79
             array_map(
80
-                function ($value) {
80
+                function($value) {
81 81
                     return $value[0];
82 82
                 },
83 83
                 $this->supportedOptions
Please login to merge, or discard this patch.
typo3/sysext/frontend/Classes/Resource/FileCollector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@
 block discarded – undo
210 210
         if ($sortingProperty !== '' && count($this->files) > 1) {
211 211
             @usort(
212 212
                 $this->files,
213
-                function (
213
+                function(
214 214
                     FileInterface $a,
215 215
                     FileInterface $b
216 216
                 ) use ($sortingProperty) {
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Html/HtmlParser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     public function splitIntoBlock($tag, $content, $eliminateExtraEndTags = false)
52 52
     {
53 53
         $tags = array_unique(GeneralUtility::trimExplode(',', $tag, true));
54
-        array_walk($tags, function (&$tag) {
54
+        array_walk($tags, function(&$tag) {
55 55
             $tag = preg_quote($tag, '/');
56 56
         });
57 57
         $regexStr = '/\\<\\/?(' . implode('|', $tags) . ')(\\s*\\>|\\s[^\\>]*\\>)/si';
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
     public function splitTags($tag, $content)
158 158
     {
159 159
         $tags = GeneralUtility::trimExplode(',', $tag, true);
160
-        array_walk($tags, function (&$tag) {
160
+        array_walk($tags, function(&$tag) {
161 161
             $tag = preg_quote($tag, '/');
162 162
         });
163 163
         $regexStr = '/\\<(' . implode('|', $tags) . ')(\\s[^>]*)?\\/?>/si';
@@ -832,7 +832,7 @@  discard block
 block discarded – undo
832 832
             if ($cacheKey && isset($this->caseShift_cache[$cacheKey])) {
833 833
                 $str = $this->caseShift_cache[$cacheKey];
834 834
             } else {
835
-                array_walk($str, function (&$value) {
835
+                array_walk($str, function(&$value) {
836 836
                     $value = strtoupper($value);
837 837
                 });
838 838
                 if ($cacheKey) {
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/Query/BulkInsertQuery.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
                 implode(
257 257
                     ', ',
258 258
                     array_map(
259
-                        function ($column) use ($connection) {
259
+                        function($column) use ($connection) {
260 260
                             return $connection->quoteIdentifier($column);
261 261
                         },
262 262
                         $this->columns
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
             implode(
273 273
                 '), (',
274 274
                 array_map(
275
-                    function (array $valueSet) {
275
+                    function(array $valueSet) {
276 276
                         return implode(', ', $valueSet);
277 277
                     },
278 278
                     $this->values
Please login to merge, or discard this patch.
typo3/sysext/workspaces/Classes/Service/StagesService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@
 block discarded – undo
228 228
             }
229 229
         }
230 230
 
231
-        uasort($allowedStages, function (StageRecord $first, StageRecord $second) {
231
+        uasort($allowedStages, function(StageRecord $first, StageRecord $second) {
232 232
             return $first->determineOrder($second);
233 233
         });
234 234
         return $this->prepareStagesArray($allowedStages);
Please login to merge, or discard this patch.
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.