Passed
Push — master ( 3b2dd1...97d09d )
by
unknown
13:42
created
typo3/sysext/backend/Classes/Form/Container/PaletteAndSingleContainer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -384,10 +384,10 @@
 block discarded – undo
384 384
 
385 385
         $content = [];
386 386
         $content[] = '<div class="' . implode(' ', $paletteFieldClasses) . '">';
387
-        $content[] =    '<label class="t3js-formengine-label">';
388
-        $content[] =        $label;
389
-        $content[] =    '</label>';
390
-        $content[] =    $element['fieldHtml'];
387
+        $content[] = '<label class="t3js-formengine-label">';
388
+        $content[] = $label;
389
+        $content[] = '</label>';
390
+        $content[] = $element['fieldHtml'];
391 391
         $content[] = '</div>';
392 392
 
393 393
         return implode(LF, $content);
Please login to merge, or discard this patch.
backend/Classes/Controller/ContentElement/NewContentElementController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -432,7 +432,7 @@
 block discarded – undo
432 432
     {
433 433
         if (isset($wizardGroup[$key])) {
434 434
             $wizardGroup[$key] = GeneralUtility::trimExplode(',', $wizardGroup[$key]);
435
-            $wizardGroup[$key] = array_map(function ($s) {
435
+            $wizardGroup[$key] = array_map(function($s) {
436 436
                 return $s . '.';
437 437
             }, $wizardGroup[$key]);
438 438
         }
Please login to merge, or discard this patch.
typo3/sysext/form/Classes/Controller/FormEditorController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@
 block discarded – undo
248 248
                 continue;
249 249
             }
250 250
 
251
-            usort($formElementsByGroup[$groupName], function ($a, $b) {
251
+            usort($formElementsByGroup[$groupName], function($a, $b) {
252 252
                 return $a['sorting'] - $b['sorting'];
253 253
             });
254 254
             unset($formElementsByGroup[$groupName]['sorting']);
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Utility/ArrayUtility.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         // Define a lambda function to be applied to all members of this array dimension
107 107
         // Call recursive if current value is of type array
108 108
         // Write to $resultArray (by reference!) if types and value match
109
-        $callback = function (&$value, $key) use ($needle, &$resultArray) {
109
+        $callback = function(&$value, $key) use ($needle, &$resultArray) {
110 110
             if ($value === $needle) {
111 111
                 $resultArray[$key] = $value;
112 112
             } elseif (is_array($value)) {
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
371 371
         if (empty($arrays)) {
372 372
             return $arrays;
373 373
         }
374
-        $sortResult = uasort($arrays, function (array $a, array $b) use ($key, $ascending) {
374
+        $sortResult = uasort($arrays, function(array $a, array $b) use ($key, $ascending) {
375 375
             if (!isset($a[$key]) || !isset($b[$key])) {
376 376
                 throw new \RuntimeException('The specified sorting key "' . $key . '" is not available in the given array.', 1373727309);
377 377
             }
@@ -847,7 +847,7 @@  discard block
 block discarded – undo
847 847
      */
848 848
     public static function filterRecursive(array $array, callable $callback = null): array
849 849
     {
850
-        $callback = $callback ?: function ($value) {
850
+        $callback = $callback ?: function($value) {
851 851
             return (bool)$value;
852 852
         };
853 853
 
Please login to merge, or discard this patch.
typo3/sysext/install/Classes/Service/LanguagePackService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
                 'dependencies' => $this->locales->getLocaleDependencies($iso),
91 91
             ];
92 92
         }
93
-        usort($languages, function ($a, $b) {
93
+        usort($languages, function($a, $b) {
94 94
             // Sort languages by name
95 95
             if ($a['name'] === $b['name']) {
96 96
                 return 0;
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
             }
152 152
             $extensions[] = $extension;
153 153
         }
154
-        usort($extensions, function ($a, $b) {
154
+        usort($extensions, function($a, $b) {
155 155
             // Sort extensions by key
156 156
             if ($a['key'] === $b['key']) {
157 157
                 return 0;
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Resource/Rendering/VideoTagRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
             $attributes[] = GeneralUtility::implodeAttributes($options['additionalAttributes'], true, true);
82 82
         }
83 83
         if (isset($options['data']) && is_array($options['data'])) {
84
-            array_walk($options['data'], function (&$value, $key) {
84
+            array_walk($options['data'], function(&$value, $key) {
85 85
                 $value = 'data-' . htmlspecialchars($key) . '="' . htmlspecialchars($value) . '"';
86 86
             });
87 87
             $attributes[] = implode(' ', $options['data']);
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Resource/Rendering/AudioTagRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
             $additionalAttributes[] = GeneralUtility::implodeAttributes($options['additionalAttributes'], true, true);
82 82
         }
83 83
         if (isset($options['data']) && is_array($options['data'])) {
84
-            array_walk($options['data'], function (&$value, $key) {
84
+            array_walk($options['data'], function(&$value, $key) {
85 85
                 $value = 'data-' . htmlspecialchars($key) . '="' . htmlspecialchars($value) . '"';
86 86
             });
87 87
             $additionalAttributes[] = implode(' ', $options['data']);
Please login to merge, or discard this patch.
typo3/sysext/install/Classes/Service/CoreVersionService.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -105,9 +105,9 @@
 block discarded – undo
105 105
 
106 106
         return !isset($result['maintained_until']) ||
107 107
                (
108
-                   new \DateTimeImmutable($result['maintained_until']) >=
109
-                   new \DateTimeImmutable('now', new \DateTimeZone('UTC'))
110
-               );
108
+                    new \DateTimeImmutable($result['maintained_until']) >=
109
+                    new \DateTimeImmutable('now', new \DateTimeZone('UTC'))
110
+                );
111 111
     }
112 112
 
113 113
     /**
Please login to merge, or discard this patch.
typo3/sysext/indexed_search/Classes/Controller/SearchController.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -700,9 +700,9 @@
 block discarded – undo
700 700
                         $iconPath = PathUtility::stripPathSitePrefix($fullPath);
701 701
                         $this->iconFileNameCache[$imageType] = $imageInfo->getWidth()
702 702
                             ? '<img src="' . $iconPath
703
-                              . '" width="' . $imageInfo->getWidth()
704
-                              . '" height="' . $imageInfo->getHeight()
705
-                              . '" title="' . htmlspecialchars($alt) . '" alt="" />'
703
+                                . '" width="' . $imageInfo->getWidth()
704
+                                . '" height="' . $imageInfo->getHeight()
705
+                                . '" title="' . htmlspecialchars($alt) . '" alt="" />'
706 706
                             : '';
707 707
                     }
708 708
                 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -872,8 +872,8 @@
 block discarded – undo
872 872
             ->bulkInsert(
873 873
                 'index_stat_word',
874 874
                 $entries,
875
-                [ 'word', 'tstamp', 'pageid' ],
876
-                [ \PDO::PARAM_STR, \PDO::PARAM_INT, \PDO::PARAM_INT ]
875
+                ['word', 'tstamp', 'pageid'],
876
+                [\PDO::PARAM_STR, \PDO::PARAM_INT, \PDO::PARAM_INT]
877 877
             );
878 878
     }
879 879
 
Please login to merge, or discard this patch.