Passed
Push — master ( 933edc...f61bbf )
by
unknown
15:51
created
typo3/sysext/core/Classes/DependencyInjection/ContainerBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      */
53 53
     public function __construct(array $earlyInstances)
54 54
     {
55
-        $this->defaultServices = $earlyInstances + [ self::class => $this ];
55
+        $this->defaultServices = $earlyInstances + [self::class => $this];
56 56
     }
57 57
 
58 58
     /**
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Resource/Search/Result/FileSearchResult.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
         $this->result = FileSearchQuery::createForSearchDemand($this->searchDemand)->execute()->fetchAll();
122 122
         $this->resultCount = count($this->result);
123 123
         $this->result = array_map(
124
-            function (array $fileRow) {
124
+            function(array $fileRow) {
125 125
                 return GeneralUtility::makeInstance(ResourceFactory::class)->getFileObject($fileRow['uid'], $fileRow);
126 126
             },
127 127
             $this->result
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Routing/Enhancer/VariableProcessor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
         $namespacePrefix = $namespace ? $namespace . static::LEVEL_DELIMITER : '';
283 283
         $arguments = array_map('strval', $arguments);
284 284
         return array_map(
285
-            function (string $value) use ($arguments, $namespacePrefix, $hash) {
285
+            function(string $value) use ($arguments, $namespacePrefix, $hash) {
286 286
                 $value = $arguments[$value] ?? $value;
287 287
                 $value = $this->addNestedValue($value);
288 288
                 $value = $namespacePrefix . $value;
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
         $arguments = array_map('strval', $arguments);
313 313
         $namespacePrefix = $namespace ? $namespace . static::LEVEL_DELIMITER : '';
314 314
         return array_map(
315
-            function (string $value) use ($arguments, $namespacePrefix, $hash) {
315
+            function(string $value) use ($arguments, $namespacePrefix, $hash) {
316 316
                 if ($hash) {
317 317
                     $value = $this->resolveHash($value);
318 318
                 }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Routing/Aspect/AspectFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     public function createAspects(array $aspects, SiteLanguage $language, Site $site): array
63 63
     {
64 64
         $aspects = array_map(
65
-            function ($settings) use ($language, $site) {
65
+            function($settings) use ($language, $site) {
66 66
                 $type = (string)($settings['type'] ?? '');
67 67
                 $aspect = $this->create($type, $settings);
68 68
                 return $this->enrich($aspect, $language, $site);
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Routing/Aspect/PersistedPatternMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
     {
201 201
         return array_filter(
202 202
             $array,
203
-            function ($key) {
203
+            function($key) {
204 204
                 return !is_numeric($key);
205 205
             },
206 206
             ARRAY_FILTER_USE_KEY
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Routing/Aspect/StaticRangeMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
 
162 162
         $length = strlen(max($this->start, $this->end));
163 163
         $range = array_map(
164
-            function ($value) use ($length) {
164
+            function($value) use ($length) {
165 165
                 return str_pad($value, $length, '0', STR_PAD_LEFT);
166 166
             },
167 167
             $range
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Routing/Aspect/SiteAccessorTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
         }
73 73
         return array_filter(
74 74
             $results,
75
-            function (array $result) {
75
+            function(array $result) {
76 76
                 // default FrontendRestrictionContainer retrieves only live records
77 77
                 // (no specific workspace & move-placeholder resolving required here)
78 78
                 $pageId = (int)$result['pid'];
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Routing/Aspect/SiteLanguageAccessorTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         usort(
50 50
             $results,
51 51
             // orders records by there occurrence in $languageFallbackIds
52
-            function (array $a, array $b) use ($languageFieldName, $languageIds): int {
52
+            function(array $a, array $b) use ($languageFieldName, $languageIds): int {
53 53
                 $languageA = (int)$a[$languageFieldName];
54 54
                 $languageB = (int)$b[$languageFieldName];
55 55
                 return array_search($languageA, $languageIds, true)
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Routing/PageSlugCandidateProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
             return '';
152 152
         }
153 153
         $redecorationPatterns = array_map(
154
-            function (DecoratingEnhancerInterface $decorationEnhancers) {
154
+            function(DecoratingEnhancerInterface $decorationEnhancers) {
155 155
                 $pattern = $decorationEnhancers->getRoutePathRedecorationPattern();
156 156
                 return '(?:' . $pattern . ')';
157 157
             },
Please login to merge, or discard this patch.