Passed
Push — master ( 4bc566...6854af )
by
unknown
25:54 queued 10:31
created
typo3/sysext/backend/Classes/Form/Element/CheckboxLabeledToggleElement.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -142,16 +142,16 @@
 block discarded – undo
142 142
         $html = [];
143 143
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
144 144
         $html[] = $fieldInformationHtml;
145
-        $html[] =   '<div class="form-wizards-wrap">';
146
-        $html[] =       '<div class="form-wizards-element">';
147
-        $html[] =           $elementHtml;
148
-        $html[] =       '</div>';
145
+        $html[] = '<div class="form-wizards-wrap">';
146
+        $html[] = '<div class="form-wizards-element">';
147
+        $html[] = $elementHtml;
148
+        $html[] = '</div>';
149 149
         if (!$disabled && !empty($fieldWizardHtml)) {
150
-            $html[] =   '<div class="form-wizards-items-bottom">';
151
-            $html[] =       $fieldWizardHtml;
152
-            $html[] =   '</div>';
150
+            $html[] = '<div class="form-wizards-items-bottom">';
151
+            $html[] = $fieldWizardHtml;
152
+            $html[] = '</div>';
153 153
         }
154
-        $html[] =   '</div>';
154
+        $html[] = '</div>';
155 155
         $html[] = '</div>';
156 156
 
157 157
         $resultArray['html'] = implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaSelectItems.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
                     $direction = strtolower($direction);
293 293
                     @usort(
294 294
                         $items,
295
-                        function ($item1, $item2) use ($direction) {
295
+                        function($item1, $item2) use ($direction) {
296 296
                             if ($direction === 'desc') {
297 297
                                 return strcasecmp($item1[0], $item2[0]) <= 0;
298 298
                             }
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
                     $direction = strtolower($direction);
305 305
                     @usort(
306 306
                         $items,
307
-                        function ($item1, $item2) use ($direction) {
307
+                        function($item1, $item2) use ($direction) {
308 308
                             if ($direction === 'desc') {
309 309
                                 return strcasecmp($item1[1], $item2[1]) <= 0;
310 310
                             }
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Configuration/AbstractConfigurationManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
                 // All implementations of getTreeList allow to pass the ids negative to include them into the result
190 190
                 // otherwise only childpages are returned
191 191
                 $storagePids = GeneralUtility::intExplode(',', $frameworkConfiguration['persistence']['storagePid']);
192
-                array_walk($storagePids, function (&$storagePid) {
192
+                array_walk($storagePids, function(&$storagePid) {
193 193
                     if ($storagePid > 0) {
194 194
                         $storagePid = -$storagePid;
195 195
                     }
Please login to merge, or discard this patch.
sysext/extbase/Classes/Validation/Validator/AbstractCompositeValidator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         // check for required options being set
62 62
         array_walk(
63 63
             $this->supportedOptions,
64
-            function ($supportedOptionData, $supportedOptionName, $options) {
64
+            function($supportedOptionData, $supportedOptionName, $options) {
65 65
                 if (isset($supportedOptionData[3]) && !array_key_exists($supportedOptionName, $options)) {
66 66
                     throw new InvalidValidationOptionsException('Required validation option not set: ' . $supportedOptionName, 1339163922);
67 67
                 }
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
         // merge with default values
73 73
         $this->options = array_merge(
74 74
             array_map(
75
-                function ($value) {
75
+                function($value) {
76 76
                     return $value[0];
77 77
                 },
78 78
                 $this->supportedOptions
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/ServiceProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -47,18 +47,18 @@
 block discarded – undo
47 47
     public function getFactories(): array
48 48
     {
49 49
         return [
50
-            Application::class => [ static::class, 'getApplication' ],
51
-            RequestHandler::class => [ static::class, 'getRequestHandler' ],
52
-            RouteDispatcher::class => [ static::class, 'getRouteDispatcher' ],
53
-            'backend.middlewares' => [ static::class, 'getBackendMiddlewares' ],
54
-            'backend.routes' => [ static::class, 'getBackendRoutes' ],
50
+            Application::class => [static::class, 'getApplication'],
51
+            RequestHandler::class => [static::class, 'getRequestHandler'],
52
+            RouteDispatcher::class => [static::class, 'getRouteDispatcher'],
53
+            'backend.middlewares' => [static::class, 'getBackendMiddlewares'],
54
+            'backend.routes' => [static::class, 'getBackendRoutes'],
55 55
         ];
56 56
     }
57 57
 
58 58
     public function getExtensions(): array
59 59
     {
60 60
         return [
61
-            Router::class => [ static::class, 'configureBackendRouter' ],
61
+            Router::class => [static::class, 'configureBackendRouter'],
62 62
         ] + parent::getExtensions();
63 63
     }
64 64
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FormDataProvider/AbstractItemProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -584,7 +584,7 @@  discard block
 block discarded – undo
584 584
         return ArrayUtility::keepItemsInArray(
585 585
             $items,
586 586
             $result['pageTsConfig']['TCEFORM.'][$table . '.'][$fieldName . '.']['keepItems'],
587
-            function ($value) {
587
+            function($value) {
588 588
                 return $value[1];
589 589
             }
590 590
         );
@@ -732,7 +732,7 @@  discard block
 block discarded – undo
732 732
         }
733 733
 
734 734
         $allowedStorageIds = array_map(
735
-            function (ResourceStorage $storage) {
735
+            function(ResourceStorage $storage) {
736 736
                 return $storage->getUid();
737 737
             },
738 738
             $this->getBackendUser()->getFileStorages()
@@ -740,7 +740,7 @@  discard block
 block discarded – undo
740 740
 
741 741
         return array_filter(
742 742
             $items,
743
-            function (array $item) use ($allowedStorageIds) {
743
+            function(array $item) use ($allowedStorageIds) {
744 744
                 $itemValue = $item[1] ?? null;
745 745
                 return empty($itemValue)
746 746
                     || in_array((int)$itemValue, $allowedStorageIds, true);
@@ -834,7 +834,7 @@  discard block
 block discarded – undo
834 834
             }
835 835
             // Sort fields by the translated value
836 836
             if (!empty($excludeArrayTable)) {
837
-                usort($excludeArrayTable, function (array $array1, array $array2) {
837
+                usort($excludeArrayTable, function(array $array1, array $array2) {
838 838
                     $array1 = reset($array1);
839 839
                     $array2 = reset($array2);
840 840
                     if (is_string($array1) && is_string($array2)) {
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/ServiceProvider.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -36,15 +36,15 @@
 block discarded – undo
36 36
     public function getFactories(): array
37 37
     {
38 38
         return [
39
-            Object\Container\Container::class => [ static::class, 'getObjectContainer' ],
40
-            Object\ObjectManager::class => [ static::class, 'getObjectManager' ],
41
-            SignalSlot\Dispatcher::class => [ static::class, 'getSignalSlotDispatcher' ],
42
-            Configuration\BackendConfigurationManager::class => [ static::class, 'getBackendConfigurationManager' ],
43
-            Configuration\ConfigurationManager::class => [ static::class, 'getConfigurationManager' ],
44
-            Reflection\ReflectionService::class => [ static::class, 'getReflectionService' ],
45
-            Service\EnvironmentService::class => [ static::class, 'getEnvironmentService' ],
46
-            Service\ExtensionService::class => [ static::class, 'getExtensionService' ],
47
-            Security\Cryptography\HashService::class => [ static::class, 'getHashService' ],
39
+            Object\Container\Container::class => [static::class, 'getObjectContainer'],
40
+            Object\ObjectManager::class => [static::class, 'getObjectManager'],
41
+            SignalSlot\Dispatcher::class => [static::class, 'getSignalSlotDispatcher'],
42
+            Configuration\BackendConfigurationManager::class => [static::class, 'getBackendConfigurationManager'],
43
+            Configuration\ConfigurationManager::class => [static::class, 'getConfigurationManager'],
44
+            Reflection\ReflectionService::class => [static::class, 'getReflectionService'],
45
+            Service\EnvironmentService::class => [static::class, 'getEnvironmentService'],
46
+            Service\ExtensionService::class => [static::class, 'getExtensionService'],
47
+            Security\Cryptography\HashService::class => [static::class, 'getHashService'],
48 48
         ];
49 49
     }
50 50
 
Please login to merge, or discard this patch.
typo3/sysext/scheduler/Classes/Task/ExecuteSchedulableCommandTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
         try {
127 127
             $input = new ArrayInput($this->getParameters(true), $schedulableCommand->getDefinition());
128 128
             $arguments = $input->__toString();
129
-        } catch (\Symfony\Component\Console\Exception\RuntimeException|InvalidArgumentException $e) {
129
+        } catch (\Symfony\Component\Console\Exception\RuntimeException | InvalidArgumentException $e) {
130 130
             return $label . "\n"
131 131
                 . sprintf(
132 132
                     $this->getLanguageService()->sL('LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:msg.errorParsingArguments'),
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FieldWizard/TableList.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -55,20 +55,20 @@  discard block
 block discarded – undo
55 55
             if ($tableName === '*') {
56 56
                 $label = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.allTables');
57 57
                 $allowedTablesHtml[] = '<span>';
58
-                $allowedTablesHtml[] =  htmlspecialchars($label);
58
+                $allowedTablesHtml[] = htmlspecialchars($label);
59 59
                 $allowedTablesHtml[] = '</span>';
60 60
             } else {
61 61
                 $label = $languageService->sL($GLOBALS['TCA'][$tableName]['ctrl']['title']);
62 62
                 $icon = $iconFactory->getIconForRecord($tableName, [], Icon::SIZE_SMALL)->render();
63 63
                 if ((bool)($config['fieldControl']['elementBrowser']['disabled'] ?? false)) {
64 64
                     $allowedTablesHtml[] = '<span class="tablelist-item-nolink">';
65
-                    $allowedTablesHtml[] =  $icon;
66
-                    $allowedTablesHtml[] =  htmlspecialchars($label);
65
+                    $allowedTablesHtml[] = $icon;
66
+                    $allowedTablesHtml[] = htmlspecialchars($label);
67 67
                     $allowedTablesHtml[] = '</span>';
68 68
                 } else {
69 69
                     $allowedTablesHtml[] = '<a href="#" class="btn btn-default t3js-element-browser" data-mode="db" data-params="' . htmlspecialchars($itemName . '|||' . $tableName) . '">';
70
-                    $allowedTablesHtml[] =  $icon;
71
-                    $allowedTablesHtml[] =  htmlspecialchars($label);
70
+                    $allowedTablesHtml[] = $icon;
71
+                    $allowedTablesHtml[] = htmlspecialchars($label);
72 72
                     $allowedTablesHtml[] = '</a>';
73 73
                 }
74 74
             }
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 
77 77
         $html = [];
78 78
         $html[] = '<div class="help-block">';
79
-        $html[] =   implode(LF, $allowedTablesHtml);
79
+        $html[] = implode(LF, $allowedTablesHtml);
80 80
         $html[] = '</div>';
81 81
 
82 82
         $result['html'] = implode(LF, $html);
Please login to merge, or discard this patch.