Passed
Push — master ( af8635...e85c0b )
by
unknown
21:46
created
sysext/beuser/Classes/Domain/Repository/BackendUserSessionRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
         // Map array to correct keys
42 42
         $allSessions = array_map(
43
-            function ($session) {
43
+            function($session) {
44 44
                 return [
45 45
                     'id' => $session['ses_id'], // this is the hashed sessionId
46 46
                     'ip' => $session['ses_iplock'],
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         );
53 53
 
54 54
         // Sort by timestamp
55
-        usort($allSessions, function ($session1, $session2) {
55
+        usort($allSessions, function($session1, $session2) {
56 56
             return $session1['timestamp'] <=> $session2['timestamp'];
57 57
         });
58 58
 
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 
72 72
         return array_filter(
73 73
             $allActive,
74
-            function ($session) use ($backendUser) {
74
+            function($session) use ($backendUser) {
75 75
                 return (int)$session['ses_userid'] === $backendUser->getUid();
76 76
             }
77 77
         );
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Routing/PreviewUriBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -311,7 +311,7 @@
 block discarded – undo
311 311
     protected function prefixAttributeNames(string $prefix, array $attributes): array
312 312
     {
313 313
         $attributeNames = array_map(
314
-            function (string $name) use ($prefix): string {
314
+            function(string $name) use ($prefix): string {
315 315
                 return $prefix . $name;
316 316
             },
317 317
             array_keys($attributes)
Please login to merge, or discard this patch.
typo3/sysext/info/Classes/Controller/InfoModuleController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@
 block discarded – undo
261 261
         $languageService = $this->getLanguageService();
262 262
         $buttonBar = $this->moduleTemplate->getDocHeaderComponent()->getButtonBar();
263 263
         // View page
264
-        $previewDataAttributes =PreviewUriBuilder::create((int)$this->pageinfo['uid'])
264
+        $previewDataAttributes = PreviewUriBuilder::create((int)$this->pageinfo['uid'])
265 265
             ->withRootLine(BackendUtility::BEgetRootLine($this->pageinfo['uid']))
266 266
             ->buildDispatcherDataAttributes();
267 267
         $viewButton = $buttonBar->makeLinkButton()
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Template/ModuleTemplate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -553,7 +553,7 @@
 block discarded – undo
553 553
             $this->iconFactory->getIcon('actions-system-shortcut-active', Icon::SIZE_SMALL)->render() . '</a>';
554 554
         }
555 555
 
556
-        $confirmationText =  $this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.makeBookmark');
556
+        $confirmationText = $this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.makeBookmark');
557 557
         $onClick = 'top.TYPO3.ShortcutMenu.createShortcut('
558 558
             . GeneralUtility::quoteJSvalue($routeIdentifier)
559 559
             . ', ' . GeneralUtility::quoteJSvalue($arguments)
Please login to merge, or discard this patch.
typo3/sysext/install/Classes/Service/WebServerConfigurationFileService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
181 181
     ): string {
182 182
         return preg_replace_callback(
183 183
             $pattern,
184
-            static function ($matches) use ($newRewriteRule) {
184
+            static function($matches) use ($newRewriteRule) {
185 185
                 return str_replace($matches[2], '', ($matches[1] . $newRewriteRule)) . $matches[3];
186 186
             },
187 187
             $configurationFileContent,
Please login to merge, or discard this patch.
typo3/sysext/install/Classes/ServiceProvider.php 1 patch
Spacing   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -55,42 +55,42 @@
 block discarded – undo
55 55
     public function getFactories(): array
56 56
     {
57 57
         return [
58
-            Http\Application::class => [ static::class, 'getApplication' ],
59
-            Http\NotFoundRequestHandler::class => [ static::class, 'getNotFoundRequestHandler' ],
60
-            Service\ClearCacheService::class => [ static::class, 'getClearCacheService' ],
61
-            Service\CoreUpdateService::class => [ static::class, 'getCoreUpdateService' ],
62
-            Service\CoreVersionService::class => [ static::class, 'getCoreVersionService' ],
63
-            Service\ExtensionConfigurationService::class => [ static::class, 'getExtensionConfigurationService' ],
64
-            Service\LanguagePackService::class => [ static::class, 'getLanguagePackService' ],
65
-            Service\LateBootService::class => [ static::class, 'getLateBootService' ],
66
-            Service\LoadTcaService::class => [ static::class, 'getLoadTcaService' ],
67
-            Service\SilentConfigurationUpgradeService::class => [ static::class, 'getSilentConfigurationUpgradeService' ],
68
-            Service\SilentTemplateFileUpgradeService::class => [ static::class, 'getSilentTemplateFileUpgradeService' ],
69
-            Service\WebServerConfigurationFileService::class => [ static::class, 'getWebServerConfigurationFileService' ],
70
-            Service\Typo3tempFileService::class => [ static::class, 'getTypo3tempFileService' ],
71
-            Service\UpgradeWizardsService::class => [ static::class, 'getUpgradeWizardsService' ],
72
-            Middleware\Installer::class => [ static::class, 'getInstallerMiddleware' ],
73
-            Middleware\Maintenance::class => [ static::class, 'getMaintenanceMiddleware' ],
74
-            Controller\EnvironmentController::class => [ static::class, 'getEnvironmentController' ],
75
-            Controller\IconController::class => [ static::class, 'getIconController' ],
76
-            Controller\InstallerController::class => [ static::class, 'getInstallerController' ],
77
-            Controller\LayoutController::class => [ static::class, 'getLayoutController' ],
78
-            Controller\LoginController::class => [ static::class, 'getLoginController' ],
79
-            Controller\MaintenanceController::class => [ static::class, 'getMaintenanceController' ],
80
-            Controller\SettingsController::class => [ static::class, 'getSettingsController' ],
81
-            Controller\UpgradeController::class => [ static::class, 'getUpgradeController' ],
82
-            Command\LanguagePackCommand::class => [ static::class, 'getLanguagePackCommand' ],
83
-            Command\UpgradeWizardRunCommand::class => [ static::class, 'getUpgradeWizardRunCommand' ],
84
-            Command\UpgradeWizardListCommand::class => [ static::class, 'getUpgradeWizardListCommand' ],
85
-            Database\PermissionsCheck::class => [ static::class, 'getPermissionsCheck' ],
58
+            Http\Application::class => [static::class, 'getApplication'],
59
+            Http\NotFoundRequestHandler::class => [static::class, 'getNotFoundRequestHandler'],
60
+            Service\ClearCacheService::class => [static::class, 'getClearCacheService'],
61
+            Service\CoreUpdateService::class => [static::class, 'getCoreUpdateService'],
62
+            Service\CoreVersionService::class => [static::class, 'getCoreVersionService'],
63
+            Service\ExtensionConfigurationService::class => [static::class, 'getExtensionConfigurationService'],
64
+            Service\LanguagePackService::class => [static::class, 'getLanguagePackService'],
65
+            Service\LateBootService::class => [static::class, 'getLateBootService'],
66
+            Service\LoadTcaService::class => [static::class, 'getLoadTcaService'],
67
+            Service\SilentConfigurationUpgradeService::class => [static::class, 'getSilentConfigurationUpgradeService'],
68
+            Service\SilentTemplateFileUpgradeService::class => [static::class, 'getSilentTemplateFileUpgradeService'],
69
+            Service\WebServerConfigurationFileService::class => [static::class, 'getWebServerConfigurationFileService'],
70
+            Service\Typo3tempFileService::class => [static::class, 'getTypo3tempFileService'],
71
+            Service\UpgradeWizardsService::class => [static::class, 'getUpgradeWizardsService'],
72
+            Middleware\Installer::class => [static::class, 'getInstallerMiddleware'],
73
+            Middleware\Maintenance::class => [static::class, 'getMaintenanceMiddleware'],
74
+            Controller\EnvironmentController::class => [static::class, 'getEnvironmentController'],
75
+            Controller\IconController::class => [static::class, 'getIconController'],
76
+            Controller\InstallerController::class => [static::class, 'getInstallerController'],
77
+            Controller\LayoutController::class => [static::class, 'getLayoutController'],
78
+            Controller\LoginController::class => [static::class, 'getLoginController'],
79
+            Controller\MaintenanceController::class => [static::class, 'getMaintenanceController'],
80
+            Controller\SettingsController::class => [static::class, 'getSettingsController'],
81
+            Controller\UpgradeController::class => [static::class, 'getUpgradeController'],
82
+            Command\LanguagePackCommand::class => [static::class, 'getLanguagePackCommand'],
83
+            Command\UpgradeWizardRunCommand::class => [static::class, 'getUpgradeWizardRunCommand'],
84
+            Command\UpgradeWizardListCommand::class => [static::class, 'getUpgradeWizardListCommand'],
85
+            Database\PermissionsCheck::class => [static::class, 'getPermissionsCheck'],
86 86
         ];
87 87
     }
88 88
 
89 89
     public function getExtensions(): array
90 90
     {
91 91
         return [
92
-            'backend.routes' => [ static::class, 'configureBackendRoutes' ],
93
-            CommandRegistry::class => [ static::class, 'configureCommands' ],
92
+            'backend.routes' => [static::class, 'configureBackendRoutes'],
93
+            CommandRegistry::class => [static::class, 'configureCommands'],
94 94
         ];
95 95
     }
96 96
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FieldWizard/SelectIcons.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -60,18 +60,18 @@
 block discarded – undo
60 60
         $html = [];
61 61
         if (!empty($selectIcons)) {
62 62
             $html[] = '<div class="t3js-forms-select-single-icons icon-list">';
63
-            $html[] =    '<div class="row">';
63
+            $html[] = '<div class="row">';
64 64
             foreach ($selectIcons as $i => $selectIcon) {
65
-                $active = $selectIcon['active'] ?  ' active' : '';
66
-                $html[] =   '<div class="col col-auto item' . $active . '">';
65
+                $active = $selectIcon['active'] ? ' active' : '';
66
+                $html[] = '<div class="col col-auto item' . $active . '">';
67 67
                 if (is_array($selectIcon)) {
68 68
                     $html[] = '<a href="#" title="' . htmlspecialchars($selectIcon['title'], ENT_COMPAT, 'UTF-8', false) . '" data-select-index="' . htmlspecialchars((string)$selectIcon['index']) . '">';
69
-                    $html[] =   $selectIcon['icon'];
69
+                    $html[] = $selectIcon['icon'];
70 70
                     $html[] = '</a>';
71 71
                 }
72
-                $html[] =   '</div>';
72
+                $html[] = '</div>';
73 73
             }
74
-            $html[] =    '</div>';
74
+            $html[] = '</div>';
75 75
             $html[] = '</div>';
76 76
         }
77 77
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/InputSlugElement.php 1 patch
Spacing   +48 added lines, -48 removed lines patch added patch discarded remove patch
@@ -112,58 +112,58 @@
 block discarded – undo
112 112
         $thisSlugId = 't3js-form-field-slug-id' . StringUtility::getUniqueId();
113 113
         $mainFieldHtml = [];
114 114
         $mainFieldHtml[] = '<div class="formengine-field-item t3js-formengine-field-item">';
115
-        $mainFieldHtml[] =  $fieldInformationHtml;
116
-        $mainFieldHtml[] =  '<div class="form-control-wrap" style="max-width: ' . $width . 'px" id="' . htmlspecialchars($thisSlugId) . '">';
117
-        $mainFieldHtml[] =      '<div class="form-wizards-wrap">';
118
-        $mainFieldHtml[] =          '<div class="form-wizards-element">';
119
-        $mainFieldHtml[] =              '<div class="input-group">';
120
-        $mainFieldHtml[] =                  ($baseUrl ? '<span class="input-group-addon">' . htmlspecialchars($baseUrl) . '</span>' : '');
115
+        $mainFieldHtml[] = $fieldInformationHtml;
116
+        $mainFieldHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px" id="' . htmlspecialchars($thisSlugId) . '">';
117
+        $mainFieldHtml[] = '<div class="form-wizards-wrap">';
118
+        $mainFieldHtml[] = '<div class="form-wizards-element">';
119
+        $mainFieldHtml[] = '<div class="input-group">';
120
+        $mainFieldHtml[] = ($baseUrl ? '<span class="input-group-addon">' . htmlspecialchars($baseUrl) . '</span>' : '');
121 121
         // We deal with 3 fields here: a readonly field for current / default values, an input
122 122
         // field to manipulate the value, and the final hidden field used to send the value
123
-        $mainFieldHtml[] =                  '<input';
124
-        $mainFieldHtml[] =                      ' class="form-control t3js-form-field-slug-readonly"';
125
-        $mainFieldHtml[] =                      ' data-bs-toggle="tooltip"';
126
-        $mainFieldHtml[] =                      ' data-title="' . htmlspecialchars($itemValue) . '"';
127
-        $mainFieldHtml[] =                      ' value="' . htmlspecialchars($itemValue) . '"';
128
-        $mainFieldHtml[] =                      ' readonly';
129
-        $mainFieldHtml[] =                  ' />';
130
-        $mainFieldHtml[] =                  '<input type="text"';
131
-        $mainFieldHtml[] =                      ' id="' . htmlspecialchars(StringUtility::getUniqueId('formengine-input-')) . '"';
132
-        $mainFieldHtml[] =                      ' class="form-control t3js-form-field-slug-input hidden"';
133
-        $mainFieldHtml[] =                      ' placeholder="' . htmlspecialchars($row['slug'] ?? '/') . '"';
134
-        $mainFieldHtml[] =                      ' data-formengine-validation-rules="' . htmlspecialchars($this->getValidationDataAsJsonString($config)) . '"';
135
-        $mainFieldHtml[] =                      ' data-formengine-input-params="' . htmlspecialchars((string)json_encode(['field' => $parameterArray['itemFormElName'], 'evalList' => implode(',', $evalList)])) . '"';
136
-        $mainFieldHtml[] =                      ' data-formengine-input-name="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
137
-        $mainFieldHtml[] =                  ' />';
138
-        $mainFieldHtml[] =                  '<span class="input-group-btn">';
139
-        $mainFieldHtml[] =                      '<button class="btn btn-default t3js-form-field-slug-toggle" type="button" title="' . htmlspecialchars($toggleButtonTitle) . '">';
140
-        $mainFieldHtml[] =                          $this->iconFactory->getIcon('actions-version-workspaces-preview-link', Icon::SIZE_SMALL)->render();
141
-        $mainFieldHtml[] =                      '</button>';
142
-        $mainFieldHtml[] =                      '<button class="btn btn-default t3js-form-field-slug-recreate" type="button" title="' . htmlspecialchars($recreateButtonTitle) . '">';
143
-        $mainFieldHtml[] =                          $this->iconFactory->getIcon('actions-refresh', Icon::SIZE_SMALL)->render();
144
-        $mainFieldHtml[] =                      '</button>';
145
-        $mainFieldHtml[] =                  '</span>';
146
-        $mainFieldHtml[] =                  '<input type="hidden"';
147
-        $mainFieldHtml[] =                      ' class="t3js-form-field-slug-hidden"';
148
-        $mainFieldHtml[] =                      ' name="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
149
-        $mainFieldHtml[] =                      ' value="' . htmlspecialchars($itemValue) . '"';
150
-        $mainFieldHtml[] =                  ' />';
151
-        $mainFieldHtml[] =              '</div>';
152
-        $mainFieldHtml[] =          '</div>';
123
+        $mainFieldHtml[] = '<input';
124
+        $mainFieldHtml[] = ' class="form-control t3js-form-field-slug-readonly"';
125
+        $mainFieldHtml[] = ' data-bs-toggle="tooltip"';
126
+        $mainFieldHtml[] = ' data-title="' . htmlspecialchars($itemValue) . '"';
127
+        $mainFieldHtml[] = ' value="' . htmlspecialchars($itemValue) . '"';
128
+        $mainFieldHtml[] = ' readonly';
129
+        $mainFieldHtml[] = ' />';
130
+        $mainFieldHtml[] = '<input type="text"';
131
+        $mainFieldHtml[] = ' id="' . htmlspecialchars(StringUtility::getUniqueId('formengine-input-')) . '"';
132
+        $mainFieldHtml[] = ' class="form-control t3js-form-field-slug-input hidden"';
133
+        $mainFieldHtml[] = ' placeholder="' . htmlspecialchars($row['slug'] ?? '/') . '"';
134
+        $mainFieldHtml[] = ' data-formengine-validation-rules="' . htmlspecialchars($this->getValidationDataAsJsonString($config)) . '"';
135
+        $mainFieldHtml[] = ' data-formengine-input-params="' . htmlspecialchars((string)json_encode(['field' => $parameterArray['itemFormElName'], 'evalList' => implode(',', $evalList)])) . '"';
136
+        $mainFieldHtml[] = ' data-formengine-input-name="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
137
+        $mainFieldHtml[] = ' />';
138
+        $mainFieldHtml[] = '<span class="input-group-btn">';
139
+        $mainFieldHtml[] = '<button class="btn btn-default t3js-form-field-slug-toggle" type="button" title="' . htmlspecialchars($toggleButtonTitle) . '">';
140
+        $mainFieldHtml[] = $this->iconFactory->getIcon('actions-version-workspaces-preview-link', Icon::SIZE_SMALL)->render();
141
+        $mainFieldHtml[] = '</button>';
142
+        $mainFieldHtml[] = '<button class="btn btn-default t3js-form-field-slug-recreate" type="button" title="' . htmlspecialchars($recreateButtonTitle) . '">';
143
+        $mainFieldHtml[] = $this->iconFactory->getIcon('actions-refresh', Icon::SIZE_SMALL)->render();
144
+        $mainFieldHtml[] = '</button>';
145
+        $mainFieldHtml[] = '</span>';
146
+        $mainFieldHtml[] = '<input type="hidden"';
147
+        $mainFieldHtml[] = ' class="t3js-form-field-slug-hidden"';
148
+        $mainFieldHtml[] = ' name="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
149
+        $mainFieldHtml[] = ' value="' . htmlspecialchars($itemValue) . '"';
150
+        $mainFieldHtml[] = ' />';
151
+        $mainFieldHtml[] = '</div>';
152
+        $mainFieldHtml[] = '</div>';
153 153
         if (!empty($fieldControlHtml)) {
154
-            $mainFieldHtml[] =      '<div class="form-wizards-items-aside">';
155
-            $mainFieldHtml[] =          '<div class="btn-group">';
156
-            $mainFieldHtml[] =              $fieldControlHtml;
157
-            $mainFieldHtml[] =          '</div>';
158
-            $mainFieldHtml[] =      '</div>';
154
+            $mainFieldHtml[] = '<div class="form-wizards-items-aside">';
155
+            $mainFieldHtml[] = '<div class="btn-group">';
156
+            $mainFieldHtml[] = $fieldControlHtml;
157
+            $mainFieldHtml[] = '</div>';
158
+            $mainFieldHtml[] = '</div>';
159 159
         }
160
-        $mainFieldHtml[] =          '<div class="form-wizards-items-bottom">';
161
-        $mainFieldHtml[] =              '<span class="t3js-form-proposal-accepted hidden label label-success">' . htmlspecialchars($successMessage) . '<span>/abc/</span></span>';
162
-        $mainFieldHtml[] =              '<span class="t3js-form-proposal-different hidden label label-warning">' . htmlspecialchars($errorMessage) . '<span>/abc/</span></span>';
163
-        $mainFieldHtml[] =              $fieldWizardHtml;
164
-        $mainFieldHtml[] =          '</div>';
165
-        $mainFieldHtml[] =      '</div>';
166
-        $mainFieldHtml[] =  '</div>';
160
+        $mainFieldHtml[] = '<div class="form-wizards-items-bottom">';
161
+        $mainFieldHtml[] = '<span class="t3js-form-proposal-accepted hidden label label-success">' . htmlspecialchars($successMessage) . '<span>/abc/</span></span>';
162
+        $mainFieldHtml[] = '<span class="t3js-form-proposal-different hidden label label-warning">' . htmlspecialchars($errorMessage) . '<span>/abc/</span></span>';
163
+        $mainFieldHtml[] = $fieldWizardHtml;
164
+        $mainFieldHtml[] = '</div>';
165
+        $mainFieldHtml[] = '</div>';
166
+        $mainFieldHtml[] = '</div>';
167 167
         $mainFieldHtml[] = '</div>';
168 168
 
169 169
         $resultArray['html'] = implode(LF, $mainFieldHtml);
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/TextElement.php 1 patch
Spacing   +46 added lines, -46 removed lines patch added patch discarded remove patch
@@ -113,16 +113,16 @@  discard block
 block discarded – undo
113 113
         if ($config['readOnly']) {
114 114
             $html = [];
115 115
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
116
-            $html[] =   $fieldInformationHtml;
117
-            $html[] =   '<div class="form-wizards-wrap">';
118
-            $html[] =       '<div class="form-wizards-element">';
119
-            $html[] =           '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
120
-            $html[] =               '<textarea class="form-control" rows="' . $rows . '" disabled>';
121
-            $html[] =                   htmlspecialchars($itemValue);
122
-            $html[] =               '</textarea>';
123
-            $html[] =           '</div>';
124
-            $html[] =       '</div>';
125
-            $html[] =   '</div>';
116
+            $html[] = $fieldInformationHtml;
117
+            $html[] = '<div class="form-wizards-wrap">';
118
+            $html[] = '<div class="form-wizards-element">';
119
+            $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
120
+            $html[] = '<textarea class="form-control" rows="' . $rows . '" disabled>';
121
+            $html[] = htmlspecialchars($itemValue);
122
+            $html[] = '</textarea>';
123
+            $html[] = '</div>';
124
+            $html[] = '</div>';
125
+            $html[] = '</div>';
126 126
             $html[] = '</div>';
127 127
             $resultArray['html'] = implode(LF, $html);
128 128
             return $resultArray;
@@ -198,8 +198,8 @@  discard block
 block discarded – undo
198 198
                     . '.value=this.options[this.selectedIndex].value';
199 199
             }
200 200
             $valuePickerHtml[] = '<select';
201
-            $valuePickerHtml[] =  ' class="form-select form-control-adapt"';
202
-            $valuePickerHtml[] =  ' onchange="' . htmlspecialchars($assignValue . ';this.blur();this.selectedIndex=0;' . implode('', $fieldChangeFunc)) . '"';
201
+            $valuePickerHtml[] = ' class="form-select form-control-adapt"';
202
+            $valuePickerHtml[] = ' onchange="' . htmlspecialchars($assignValue . ';this.blur();this.selectedIndex=0;' . implode('', $fieldChangeFunc)) . '"';
203 203
             $valuePickerHtml[] = '>';
204 204
             $valuePickerHtml[] = '<option></option>';
205 205
             foreach ($config['valuePicker']['items'] as $item) {
@@ -218,24 +218,24 @@  discard block
 block discarded – undo
218 218
 
219 219
         $mainFieldHtml = [];
220 220
         $mainFieldHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
221
-        $mainFieldHtml[] =  '<div class="form-wizards-wrap">';
222
-        $mainFieldHtml[] =      '<div class="form-wizards-element">';
223
-        $mainFieldHtml[] =          '<textarea ' . GeneralUtility::implodeAttributes($attributes, true) . '>' . htmlspecialchars($itemValue) . '</textarea>';
224
-        $mainFieldHtml[] =      '</div>';
221
+        $mainFieldHtml[] = '<div class="form-wizards-wrap">';
222
+        $mainFieldHtml[] = '<div class="form-wizards-element">';
223
+        $mainFieldHtml[] = '<textarea ' . GeneralUtility::implodeAttributes($attributes, true) . '>' . htmlspecialchars($itemValue) . '</textarea>';
224
+        $mainFieldHtml[] = '</div>';
225 225
         if (!empty($valuePickerHtml) || !empty($fieldControlHtml)) {
226
-            $mainFieldHtml[] =      '<div class="form-wizards-items-aside">';
227
-            $mainFieldHtml[] =          '<div class="btn-group">';
228
-            $mainFieldHtml[] =              implode(LF, $valuePickerHtml);
229
-            $mainFieldHtml[] =              $fieldControlHtml;
230
-            $mainFieldHtml[] =          '</div>';
231
-            $mainFieldHtml[] =      '</div>';
226
+            $mainFieldHtml[] = '<div class="form-wizards-items-aside">';
227
+            $mainFieldHtml[] = '<div class="btn-group">';
228
+            $mainFieldHtml[] = implode(LF, $valuePickerHtml);
229
+            $mainFieldHtml[] = $fieldControlHtml;
230
+            $mainFieldHtml[] = '</div>';
231
+            $mainFieldHtml[] = '</div>';
232 232
         }
233 233
         if (!empty($fieldWizardHtml)) {
234 234
             $mainFieldHtml[] = '<div class="form-wizards-items-bottom">';
235 235
             $mainFieldHtml[] = $fieldWizardHtml;
236 236
             $mainFieldHtml[] = '</div>';
237 237
         }
238
-        $mainFieldHtml[] =  '</div>';
238
+        $mainFieldHtml[] = '</div>';
239 239
         $mainFieldHtml[] = '</div>';
240 240
         $mainFieldHtml = implode(LF, $mainFieldHtml);
241 241
 
@@ -245,11 +245,11 @@  discard block
 block discarded – undo
245 245
             $fullElement = [];
246 246
             $fullElement[] = '<div class="t3-form-field-disable"></div>';
247 247
             $fullElement[] = '<div class="checkbox t3-form-field-eval-null-checkbox">';
248
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
249
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
250
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
251
-            $fullElement[] =         $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
252
-            $fullElement[] =     '</label>';
248
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
249
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
250
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
251
+            $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
252
+            $fullElement[] = '</label>';
253 253
             $fullElement[] = '</div>';
254 254
             $fullElement[] = $mainFieldHtml;
255 255
             $fullElement = implode(LF, $fullElement);
@@ -278,28 +278,28 @@  discard block
 block discarded – undo
278 278
             }
279 279
             $fullElement = [];
280 280
             $fullElement[] = '<div class="checkbox t3js-form-field-eval-null-placeholder-checkbox">';
281
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
282
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
283
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
284
-            $fullElement[] =         $overrideLabel;
285
-            $fullElement[] =     '</label>';
281
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
282
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
283
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
284
+            $fullElement[] = $overrideLabel;
285
+            $fullElement[] = '</label>';
286 286
             $fullElement[] = '</div>';
287 287
             $fullElement[] = '<div class="t3js-formengine-placeholder-placeholder">';
288
-            $fullElement[] =    '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
289
-            $fullElement[] =        '<textarea';
290
-            $fullElement[] =            ' class="form-control formengine-textarea' . (isset($config['fixedFont']) ? ' text-monospace'  : '') . '"';
291
-            $fullElement[] =            ' disabled="disabled"';
292
-            $fullElement[] =            ' rows="' . htmlspecialchars($attributes['rows']) . '"';
293
-            $fullElement[] =            ' wrap="' . htmlspecialchars($attributes['wrap']) . '"';
294
-            $fullElement[] =            isset($attributes['style']) ? ' style="' . htmlspecialchars($attributes['style']) . '"' : '';
295
-            $fullElement[] =            isset($attributes['maxlength']) ? ' maxlength="' . htmlspecialchars($attributes['maxlength']) . '"' : '';
296
-            $fullElement[] =        '>';
297
-            $fullElement[] =            htmlspecialchars($shortenedPlaceholder);
298
-            $fullElement[] =        '</textarea>';
299
-            $fullElement[] =    '</div>';
288
+            $fullElement[] = '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
289
+            $fullElement[] = '<textarea';
290
+            $fullElement[] = ' class="form-control formengine-textarea' . (isset($config['fixedFont']) ? ' text-monospace' : '') . '"';
291
+            $fullElement[] = ' disabled="disabled"';
292
+            $fullElement[] = ' rows="' . htmlspecialchars($attributes['rows']) . '"';
293
+            $fullElement[] = ' wrap="' . htmlspecialchars($attributes['wrap']) . '"';
294
+            $fullElement[] = isset($attributes['style']) ? ' style="' . htmlspecialchars($attributes['style']) . '"' : '';
295
+            $fullElement[] = isset($attributes['maxlength']) ? ' maxlength="' . htmlspecialchars($attributes['maxlength']) . '"' : '';
296
+            $fullElement[] = '>';
297
+            $fullElement[] = htmlspecialchars($shortenedPlaceholder);
298
+            $fullElement[] = '</textarea>';
299
+            $fullElement[] = '</div>';
300 300
             $fullElement[] = '</div>';
301 301
             $fullElement[] = '<div class="t3js-formengine-placeholder-formfield">';
302
-            $fullElement[] =    $mainFieldHtml;
302
+            $fullElement[] = $mainFieldHtml;
303 303
             $fullElement[] = '</div>';
304 304
             $fullElement = implode(LF, $fullElement);
305 305
         }
Please login to merge, or discard this patch.