Passed
Push — master ( 4a584a...c1d429 )
by
unknown
17:40
created
typo3/sysext/extbase/Classes/Reflection/ClassSchema/Method.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
     {
102 102
         $position = 0;
103 103
 
104
-        $parameters = array_filter($this->getParameters(), function (MethodParameter $parameter) use ($position) {
104
+        $parameters = array_filter($this->getParameters(), function(MethodParameter $parameter) use ($position) {
105 105
             return $parameter->getPosition() === $position;
106 106
         });
107 107
 
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Reflection/ClassSchema.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
             $annotations = $annotationReader->getPropertyAnnotations($reflectionProperty);
220 220
 
221 221
             /** @var array|Validate[] $validateAnnotations */
222
-            $validateAnnotations = array_filter($annotations, function ($annotation) {
222
+            $validateAnnotations = array_filter($annotations, function($annotation) {
223 223
                 return $annotation instanceof Validate;
224 224
             });
225 225
 
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
             $annotations = $annotationReader->getMethodAnnotations($reflectionMethod);
317 317
 
318 318
             /** @var array|Validate[] $validateAnnotations */
319
-            $validateAnnotations = array_filter($annotations, function ($annotation) {
319
+            $validateAnnotations = array_filter($annotations, function($annotation) {
320 320
                 return $annotation instanceof Validate;
321 321
             });
322 322
 
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
 
351 351
                 $parameterName = $reflectionParameter->getName();
352 352
 
353
-                $ignoreValidationParameters = array_filter($annotations, function ($annotation) use ($parameterName) {
353
+                $ignoreValidationParameters = array_filter($annotations, function($annotation) use ($parameterName) {
354 354
                     return $annotation instanceof IgnoreValidation && $annotation->argumentName === $parameterName;
355 355
                 });
356 356
 
@@ -631,7 +631,7 @@  discard block
 block discarded – undo
631 631
      */
632 632
     public function getInjectMethods(): array
633 633
     {
634
-        return array_filter($this->buildMethodObjects(), function ($method) {
634
+        return array_filter($this->buildMethodObjects(), function($method) {
635 635
             /** @var Method $method */
636 636
             return $method->isInjectMethod();
637 637
         });
@@ -642,7 +642,7 @@  discard block
 block discarded – undo
642 642
      */
643 643
     public function getInjectProperties(): array
644 644
     {
645
-        return array_filter($this->buildPropertyObjects(), static function ($property) {
645
+        return array_filter($this->buildPropertyObjects(), static function($property) {
646 646
             /** @var Property $property */
647 647
             return $property->isInjectProperty();
648 648
         });
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Reflection/ObjectAccess.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
 
227 227
         $accessor = self::createAccessor();
228 228
         $propertyNames = array_keys($classSchema->getProperties());
229
-        $accessiblePropertyNames = array_filter($propertyNames, function ($propertyName) use ($accessor, $object) {
229
+        $accessiblePropertyNames = array_filter($propertyNames, function($propertyName) use ($accessor, $object) {
230 230
             return $accessor->isReadable($object, $propertyName);
231 231
         });
232 232
 
@@ -282,11 +282,11 @@  discard block
 block discarded – undo
282 282
         } else {
283 283
             $classSchema = GeneralUtility::makeInstance(ReflectionService::class)->getClassSchema($object);
284 284
 
285
-            $propertyNames = array_filter(array_keys($classSchema->getProperties()), function ($methodName) use ($accessor, $object) {
285
+            $propertyNames = array_filter(array_keys($classSchema->getProperties()), function($methodName) use ($accessor, $object) {
286 286
                 return $accessor->isWritable($object, $methodName);
287 287
             });
288 288
 
289
-            $setters = array_filter(array_keys($classSchema->getMethods()), function ($methodName) use ($object) {
289
+            $setters = array_filter(array_keys($classSchema->getMethods()), function($methodName) use ($object) {
290 290
                 return StringUtility::beginsWith($methodName, 'set') && is_callable([$object, $methodName]);
291 291
             });
292 292
 
@@ -437,7 +437,7 @@  discard block
 block discarded – undo
437 437
      */
438 438
     private static function convertToArrayPropertyPath(PropertyPath $propertyPath): PropertyPath
439 439
     {
440
-        $segments = array_map(function ($segment) {
440
+        $segments = array_map(function($segment) {
441 441
             return static::wrap($segment);
442 442
         }, $propertyPath->getElements());
443 443
 
Please login to merge, or discard this patch.
sysext/redirects/Classes/Controller/RecordHistoryRollbackController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
         $correlationIds = $request->getQueryParams()['correlation_ids'] ?? [];
51 51
         /** @var CorrelationId[] $correlationIds */
52 52
         $correlationIds = array_map(
53
-            function (string $correlationId) {
53
+            function(string $correlationId) {
54 54
                 return CorrelationId::fromString($correlationId);
55 55
             },
56 56
             $correlationIds
Please login to merge, or discard this patch.
typo3/sysext/redirects/Classes/Service/IntegrityService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
      */
110 110
     private function getAllEntryPointsForSite(Site $site): array
111 111
     {
112
-        return array_map(static function (SiteLanguage $language): string {
112
+        return array_map(static function(SiteLanguage $language): string {
113 113
             return (string)$language->getBase();
114 114
         }, $site->getLanguages());
115 115
     }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Crypto/PasswordHashing/PasswordHashFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
                 1533820194
110 110
             );
111 111
         }
112
-        $hashInstance =  GeneralUtility::makeInstance($defaultHashClassName, $defaultHashOptions);
112
+        $hashInstance = GeneralUtility::makeInstance($defaultHashClassName, $defaultHashOptions);
113 113
         if (!$hashInstance instanceof PasswordHashInterface) {
114 114
             throw new \LogicException(
115 115
                 'Configured default hash method ' . $defaultHashClassName . ' is not an instance of PasswordHashInterface',
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/EventDispatcher/ListenerProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
         $target = $this->container->get($service);
103 103
         if ($method !== null) {
104 104
             // Dispatch to configured method name instead of __invoke()
105
-            $target = [ $target, $method ];
105
+            $target = [$target, $method];
106 106
         }
107 107
 
108 108
         if (!is_callable($target)) {
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Configuration/FlexForm/FlexFormTools.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -779,7 +779,7 @@
 block discarded – undo
779 779
         try {
780 780
             $dataStructureIdentifier = $this->getDataStructureIdentifier($GLOBALS['TCA'][$table]['columns'][$field], $table, $field, $row);
781 781
             $dataStructureArray = $this->parseDataStructureByIdentifier($dataStructureIdentifier);
782
-        } catch (InvalidParentRowException|InvalidParentRowLoopException|InvalidParentRowRootException|InvalidPointerFieldValueException|InvalidIdentifierException $e) {
782
+        } catch (InvalidParentRowException | InvalidParentRowLoopException | InvalidParentRowRootException | InvalidPointerFieldValueException | InvalidIdentifierException $e) {
783 783
         }
784 784
 
785 785
         // Get flexform XML data
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Package/AbstractServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,8 @@
 block discarded – undo
47 47
     public function getExtensions(): array
48 48
     {
49 49
         return [
50
-            'middlewares' => [ static::class, 'configureMiddlewares' ],
51
-            'backend.routes' => [ static::class, 'configureBackendRoutes' ],
50
+            'middlewares' => [static::class, 'configureMiddlewares'],
51
+            'backend.routes' => [static::class, 'configureBackendRoutes'],
52 52
         ];
53 53
     }
54 54
 
Please login to merge, or discard this patch.