Passed
Push — master ( 7e6a9d...bb831f )
by
unknown
16:41
created
typo3/sysext/felogin/Classes/Controller/LoginController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
                 'storagePid' => implode(',', $this->getStorageFolders()),
154 154
                 'permaloginStatus' => $this->getPermaloginStatus(),
155 155
                 'redirectURL' => $this->redirectHandler->getLoginFormRedirectUrl($this->configuration, $this->isRedirectDisabled()),
156
-                'redirectReferrer' => $this->request->hasArgument('redirectReferrer') ? (string)$this->request->getArgument('redirectReferrer'): '',
156
+                'redirectReferrer' => $this->request->hasArgument('redirectReferrer') ? (string)$this->request->getArgument('redirectReferrer') : '',
157 157
                 'referer' => $this->requestHandler->getPropertyFromGetAndPost('referer'),
158 158
                 'noRedirect' => $this->isRedirectDisabled(),
159 159
             ]
Please login to merge, or discard this patch.
typo3/sysext/rte_ckeditor/Classes/Form/Element/RichTextElement.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -132,28 +132,28 @@
 block discarded – undo
132 132
 
133 133
         $html = [];
134 134
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
135
-        $html[] =   $fieldInformationHtml;
136
-        $html[] =   '<div class="form-control-wrap">';
137
-        $html[] =       '<div class="form-wizards-wrap">';
138
-        $html[] =           '<div class="form-wizards-element">';
139
-        $html[] =               '<textarea ' . GeneralUtility::implodeAttributes($attributes, true) . '>';
140
-        $html[] =                   htmlspecialchars($value);
141
-        $html[] =               '</textarea>';
142
-        $html[] =           '</div>';
135
+        $html[] = $fieldInformationHtml;
136
+        $html[] = '<div class="form-control-wrap">';
137
+        $html[] = '<div class="form-wizards-wrap">';
138
+        $html[] = '<div class="form-wizards-element">';
139
+        $html[] = '<textarea ' . GeneralUtility::implodeAttributes($attributes, true) . '>';
140
+        $html[] = htmlspecialchars($value);
141
+        $html[] = '</textarea>';
142
+        $html[] = '</div>';
143 143
         if (!empty($fieldControlHtml)) {
144
-            $html[] =           '<div class="form-wizards-items-aside">';
145
-            $html[] =               '<div class="btn-group">';
146
-            $html[] =                   $fieldControlHtml;
147
-            $html[] =               '</div>';
148
-            $html[] =           '</div>';
144
+            $html[] = '<div class="form-wizards-items-aside">';
145
+            $html[] = '<div class="btn-group">';
146
+            $html[] = $fieldControlHtml;
147
+            $html[] = '</div>';
148
+            $html[] = '</div>';
149 149
         }
150 150
         if (!empty($fieldWizardHtml)) {
151 151
             $html[] = '<div class="form-wizards-items-bottom">';
152 152
             $html[] = $fieldWizardHtml;
153 153
             $html[] = '</div>';
154 154
         }
155
-        $html[] =       '</div>';
156
-        $html[] =   '</div>';
155
+        $html[] = '</div>';
156
+        $html[] = '</div>';
157 157
         $html[] = '</div>';
158 158
 
159 159
         $resultArray['html'] = implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/linkvalidator/Classes/Repository/BrokenLinkRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
         ];
139 139
         while ($row = $statement->fetch()) {
140 140
             $result[$row['link_type']] = $row['amount'];
141
-            $result['total']+= $row['amount'];
141
+            $result['total'] += $row['amount'];
142 142
         }
143 143
         return $result;
144 144
     }
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Utility/DebuggerUtility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
                 $dump = self::ansiEscapeWrap('"' . implode(PHP_EOL . str_repeat(self::PLAINTEXT_INDENT, $level + 1), str_split($croppedValue, 76)) . '"', '33', $ansiColors) . ' (' . strlen($value) . ' chars)';
95 95
             } else {
96 96
                 $lines = str_split($croppedValue, 76);
97
-                $lines = array_map(static function (string $line): string {
97
+                $lines = array_map(static function(string $line): string {
98 98
                     return htmlspecialchars($line, ENT_COMPAT);
99 99
                 }, $lines);
100 100
                 $dump = sprintf('\'<span class="extbase-debug-string">%s</span>\' (%s chars)', implode('<br />' . str_repeat(self::HTML_INDENT, $level + 1), $lines), strlen($value));
Please login to merge, or discard this patch.
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.