Passed
Push — master ( ec8345...bcf1e1 )
by
unknown
14:50
created
typo3/sysext/install/Classes/Service/EnableFileService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
     {
191 191
         $files = scandir(Environment::getPublicPath() . '/');
192 192
         $files = is_array($files) ? $files : [];
193
-        $files = array_filter($files, function ($file) {
193
+        $files = array_filter($files, function($file) {
194 194
             return @is_file(Environment::getPublicPath() . '/' . $file) && preg_match('~^' . self::FIRST_INSTALL_FILE_PATH . '.*~i', $file);
195 195
         });
196 196
         return $files;
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Container/FlexFormElementContainer.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -146,15 +146,15 @@
 block discarded – undo
146 146
                     $processedTitle = str_replace('\\n', '<br />', htmlspecialchars($fakeParameterArray['fieldConf']['label']));
147 147
                     $html = [];
148 148
                     $html[] = '<div class="form-section">';
149
-                    $html[] =   '<div class="form-group t3js-formengine-palette-field t3js-formengine-validation-marker">';
150
-                    $html[] =       '<label class="t3js-formengine-label">';
151
-                    $html[] =           BackendUtility::wrapInHelp($parameterArray['_cshKey'], $flexFormFieldName, $processedTitle);
152
-                    $html[] =           $showFieldName ? ('<code>[' . htmlspecialchars($flexFormFieldName) . ']</code>') : '';
153
-                    $html[] =       '</label>';
154
-                    $html[] =       '<div class="formengine-field-item t3js-formengine-field-item">';
155
-                    $html[] =           $childResult['html'];
156
-                    $html[] =       '</div>';
157
-                    $html[] =   '</div>';
149
+                    $html[] = '<div class="form-group t3js-formengine-palette-field t3js-formengine-validation-marker">';
150
+                    $html[] = '<label class="t3js-formengine-label">';
151
+                    $html[] = BackendUtility::wrapInHelp($parameterArray['_cshKey'], $flexFormFieldName, $processedTitle);
152
+                    $html[] = $showFieldName ? ('<code>[' . htmlspecialchars($flexFormFieldName) . ']</code>') : '';
153
+                    $html[] = '</label>';
154
+                    $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
155
+                    $html[] = $childResult['html'];
156
+                    $html[] = '</div>';
157
+                    $html[] = '</div>';
158 158
                     $html[] = '</div>';
159 159
                     $resultArray['html'] .= implode(LF, $html);
160 160
                     $resultArray = $this->mergeChildReturnIntoExistingResult($resultArray, $childResult, false);
Please login to merge, or discard this patch.
typo3/sysext/dashboard/Classes/Widgets/CtaWidget.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
     ) {
62 62
         $this->configuration = $configuration;
63 63
         $this->view = $view;
64
-        $this->options =  array_merge(['text' => ''], $options);
64
+        $this->options = array_merge(['text' => ''], $options);
65 65
         $this->buttonProvider = $buttonProvider;
66 66
     }
67 67
 
Please login to merge, or discard this patch.
typo3/sysext/dashboard/Classes/ServiceProvider.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -45,20 +45,20 @@
 block discarded – undo
45 45
     public function getFactories(): array
46 46
     {
47 47
         return [
48
-            'dashboard.presets' => [ static::class, 'getDashboardPresets' ],
49
-            'dashboard.widgetGroups' => [ static::class, 'getWidgetGroups' ],
50
-            'dashboard.widgets' => [ static::class, 'getWidgets' ],
48
+            'dashboard.presets' => [static::class, 'getDashboardPresets'],
49
+            'dashboard.widgetGroups' => [static::class, 'getWidgetGroups'],
50
+            'dashboard.widgets' => [static::class, 'getWidgets'],
51 51
         ];
52 52
     }
53 53
 
54 54
     public function getExtensions(): array
55 55
     {
56 56
         return [
57
-            DashboardPresetRegistry::class => [ static::class, 'configureDashboardPresetRegistry' ],
58
-            WidgetGroupRegistry::class => [ static::class, 'configureWidgetGroupRegistry' ],
59
-            'dashboard.presets' => [ static::class, 'configureDashboardPresets' ],
60
-            'dashboard.widgetGroups' => [ static::class, 'configureWidgetGroups' ],
61
-            'dashboard.widgets' => [ static::class, 'configureWidgets' ]
57
+            DashboardPresetRegistry::class => [static::class, 'configureDashboardPresetRegistry'],
58
+            WidgetGroupRegistry::class => [static::class, 'configureWidgetGroupRegistry'],
59
+            'dashboard.presets' => [static::class, 'configureDashboardPresets'],
60
+            'dashboard.widgetGroups' => [static::class, 'configureWidgetGroups'],
61
+            'dashboard.widgets' => [static::class, 'configureWidgets']
62 62
         ] + parent::getExtensions();
63 63
     }
64 64
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FieldWizard/OtherLanguageThumbnails.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 
73 73
             try {
74 74
                 $file = GeneralUtility::makeInstance(ResourceFactory::class)->getFileObject($fileUid);
75
-            } catch (FileDoesNotExistException|\InvalidArgumentException $e) {
75
+            } catch (FileDoesNotExistException | \InvalidArgumentException $e) {
76 76
                 continue;
77 77
             }
78 78
 
@@ -99,8 +99,8 @@  discard block
 block discarded – undo
99 99
             if ($processedImages !== []) {
100 100
                 $iconIdentifier = $this->data['systemLanguageRows'][(int)$sysLanguageUid]['flagIconIdentifier'] ?? 'flags-multiple';
101 101
                 $html[] = '<div class="t3-form-original-language">';
102
-                $html[] =   $iconFactory->getIcon($iconIdentifier, Icon::SIZE_SMALL)->render();
103
-                $html[] =   implode(LF, $processedImages);
102
+                $html[] = $iconFactory->getIcon($iconIdentifier, Icon::SIZE_SMALL)->render();
103
+                $html[] = implode(LF, $processedImages);
104 104
                 $html[] = '</div>';
105 105
             }
106 106
         }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Charset/CharsetConverter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -518,7 +518,7 @@
 block discarded – undo
518 518
         while (!feof($fh)) {
519 519
             $line = (string)fgets($fh, 4096);
520 520
             // Has a lot of info
521
-            [$char, $name, $cat, , , $decomp, , , $num] = explode(';', rtrim($line));
521
+            [$char, $name, $cat,,, $decomp,,, $num] = explode(';', rtrim($line));
522 522
             $ord = hexdec($char);
523 523
             if ($ord > 65535) {
524 524
                 // Only process the BMP
Please login to merge, or discard this patch.
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2146,7 +2146,7 @@
 block discarded – undo
2146 2146
         $tempCommaReplacementString = '###KASPER###';
2147 2147
 
2148 2148
         // replace every "," wrapped in "()" by a "unique" string
2149
-        $string = preg_replace_callback('/\((?>[^()]|(?R))*\)/', function ($result) use ($tempCommaReplacementString) {
2149
+        $string = preg_replace_callback('/\((?>[^()]|(?R))*\)/', function($result) use ($tempCommaReplacementString) {
2150 2150
             return str_replace(',', $tempCommaReplacementString, $result[0]);
2151 2151
         }, $string) ?? '';
2152 2152
 
Please login to merge, or discard this patch.
typo3/sysext/form/Classes/Domain/Finishers/EmailFinisher.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -243,8 +243,8 @@
 block discarded – undo
243 243
 
244 244
         $standaloneView->assign('form', $formRuntime);
245 245
         $standaloneView->getRenderingContext()
246
-                       ->getViewHelperVariableContainer()
247
-                       ->addOrUpdate(RenderRenderableViewHelper::class, 'formRuntime', $formRuntime);
246
+                        ->getViewHelperVariableContainer()
247
+                        ->addOrUpdate(RenderRenderableViewHelper::class, 'formRuntime', $formRuntime);
248 248
 
249 249
         return $standaloneView;
250 250
     }
Please login to merge, or discard this patch.
typo3/sysext/felogin/Classes/Redirect/RedirectHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
         }
159 159
 
160 160
         // Remove empty values, but keep "0" as value (that's why "strlen" is used as second parameter)
161
-        $redirectUrlList = array_filter($redirectUrlList, static function (string $value): bool {
161
+        $redirectUrlList = array_filter($redirectUrlList, static function(string $value): bool {
162 162
             return strlen($value) > 0;
163 163
         });
164 164
 
Please login to merge, or discard this patch.