Passed
Push — master ( fb1b17...8482d7 )
by
unknown
19:36
created
typo3/sysext/backend/Classes/Form/Element/TextElement.php 1 patch
Spacing   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -115,16 +115,16 @@  discard block
 block discarded – undo
115 115
         if ($config['readOnly'] ?? false) {
116 116
             $html = [];
117 117
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
118
-            $html[] =   $fieldInformationHtml;
119
-            $html[] =   '<div class="form-wizards-wrap">';
120
-            $html[] =       '<div class="form-wizards-element">';
121
-            $html[] =           '<div class="form-control-wrap"' . ($width ? ' style="max-width: ' . $width . 'px">' : '>');
122
-            $html[] =               '<textarea class="form-control" rows="' . $rows . '" disabled>';
123
-            $html[] =                   htmlspecialchars($itemValue);
124
-            $html[] =               '</textarea>';
125
-            $html[] =           '</div>';
126
-            $html[] =       '</div>';
127
-            $html[] =   '</div>';
118
+            $html[] = $fieldInformationHtml;
119
+            $html[] = '<div class="form-wizards-wrap">';
120
+            $html[] = '<div class="form-wizards-element">';
121
+            $html[] = '<div class="form-control-wrap"' . ($width ? ' style="max-width: ' . $width . 'px">' : '>');
122
+            $html[] = '<textarea class="form-control" rows="' . $rows . '" disabled>';
123
+            $html[] = htmlspecialchars($itemValue);
124
+            $html[] = '</textarea>';
125
+            $html[] = '</div>';
126
+            $html[] = '</div>';
127
+            $html[] = '</div>';
128 128
             $html[] = '</div>';
129 129
             $resultArray['html'] = implode(LF, $html);
130 130
             return $resultArray;
@@ -217,24 +217,24 @@  discard block
 block discarded – undo
217 217
 
218 218
         $mainFieldHtml = [];
219 219
         $mainFieldHtml[] = '<div class="form-control-wrap"' . ($width ? ' style="max-width: ' . $width . 'px">' : '>');
220
-        $mainFieldHtml[] =  '<div class="form-wizards-wrap">';
221
-        $mainFieldHtml[] =      '<div class="form-wizards-element">';
222
-        $mainFieldHtml[] =          '<textarea ' . GeneralUtility::implodeAttributes($attributes, true) . '>' . htmlspecialchars($itemValue) . '</textarea>';
223
-        $mainFieldHtml[] =      '</div>';
220
+        $mainFieldHtml[] = '<div class="form-wizards-wrap">';
221
+        $mainFieldHtml[] = '<div class="form-wizards-element">';
222
+        $mainFieldHtml[] = '<textarea ' . GeneralUtility::implodeAttributes($attributes, true) . '>' . htmlspecialchars($itemValue) . '</textarea>';
223
+        $mainFieldHtml[] = '</div>';
224 224
         if (!empty($valuePickerHtml) || !empty($fieldControlHtml)) {
225
-            $mainFieldHtml[] =      '<div class="form-wizards-items-aside">';
226
-            $mainFieldHtml[] =          '<div class="btn-group">';
227
-            $mainFieldHtml[] =              implode(LF, $valuePickerHtml);
228
-            $mainFieldHtml[] =              $fieldControlHtml;
229
-            $mainFieldHtml[] =          '</div>';
230
-            $mainFieldHtml[] =      '</div>';
225
+            $mainFieldHtml[] = '<div class="form-wizards-items-aside">';
226
+            $mainFieldHtml[] = '<div class="btn-group">';
227
+            $mainFieldHtml[] = implode(LF, $valuePickerHtml);
228
+            $mainFieldHtml[] = $fieldControlHtml;
229
+            $mainFieldHtml[] = '</div>';
230
+            $mainFieldHtml[] = '</div>';
231 231
         }
232 232
         if (!empty($fieldWizardHtml)) {
233 233
             $mainFieldHtml[] = '<div class="form-wizards-items-bottom">';
234 234
             $mainFieldHtml[] = $fieldWizardHtml;
235 235
             $mainFieldHtml[] = '</div>';
236 236
         }
237
-        $mainFieldHtml[] =  '</div>';
237
+        $mainFieldHtml[] = '</div>';
238 238
         $mainFieldHtml[] = '</div>';
239 239
         $mainFieldHtml = implode(LF, $mainFieldHtml);
240 240
 
@@ -244,11 +244,11 @@  discard block
 block discarded – undo
244 244
             $fullElement = [];
245 245
             $fullElement[] = '<div class="t3-form-field-disable"></div>';
246 246
             $fullElement[] = '<div class="form-check t3-form-field-eval-null-checkbox">';
247
-            $fullElement[] =     '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
248
-            $fullElement[] =     '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
249
-            $fullElement[] =     '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
250
-            $fullElement[] =         $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
251
-            $fullElement[] =     '</label>';
247
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
248
+            $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
249
+            $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
250
+            $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
251
+            $fullElement[] = '</label>';
252 252
             $fullElement[] = '</div>';
253 253
             $fullElement[] = $mainFieldHtml;
254 254
             $fullElement = implode(LF, $fullElement);
@@ -277,28 +277,28 @@  discard block
 block discarded – undo
277 277
             }
278 278
             $fullElement = [];
279 279
             $fullElement[] = '<div class="form-check t3js-form-field-eval-null-placeholder-checkbox">';
280
-            $fullElement[] =     '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
281
-            $fullElement[] =     '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
282
-            $fullElement[] =     '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
283
-            $fullElement[] =         $overrideLabel;
284
-            $fullElement[] =     '</label>';
280
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
281
+            $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
282
+            $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
283
+            $fullElement[] = $overrideLabel;
284
+            $fullElement[] = '</label>';
285 285
             $fullElement[] = '</div>';
286 286
             $fullElement[] = '<div class="t3js-formengine-placeholder-placeholder">';
287
-            $fullElement[] =    '<div class="form-control-wrap"' . ($width ? ' style="max-width: ' . $width . 'px">' : '>');
288
-            $fullElement[] =        '<textarea';
289
-            $fullElement[] =            ' class="form-control formengine-textarea' . (isset($config['fixedFont']) ? ' text-monospace'  : '') . '"';
290
-            $fullElement[] =            ' disabled="disabled"';
291
-            $fullElement[] =            ' rows="' . htmlspecialchars($attributes['rows']) . '"';
292
-            $fullElement[] =            ' wrap="' . htmlspecialchars($attributes['wrap']) . '"';
293
-            $fullElement[] =            isset($attributes['style']) ? ' style="' . htmlspecialchars($attributes['style']) . '"' : '';
294
-            $fullElement[] =            isset($attributes['maxlength']) ? ' maxlength="' . htmlspecialchars($attributes['maxlength']) . '"' : '';
295
-            $fullElement[] =        '>';
296
-            $fullElement[] =            htmlspecialchars($shortenedPlaceholder);
297
-            $fullElement[] =        '</textarea>';
298
-            $fullElement[] =    '</div>';
287
+            $fullElement[] = '<div class="form-control-wrap"' . ($width ? ' style="max-width: ' . $width . 'px">' : '>');
288
+            $fullElement[] = '<textarea';
289
+            $fullElement[] = ' class="form-control formengine-textarea' . (isset($config['fixedFont']) ? ' text-monospace' : '') . '"';
290
+            $fullElement[] = ' disabled="disabled"';
291
+            $fullElement[] = ' rows="' . htmlspecialchars($attributes['rows']) . '"';
292
+            $fullElement[] = ' wrap="' . htmlspecialchars($attributes['wrap']) . '"';
293
+            $fullElement[] = isset($attributes['style']) ? ' style="' . htmlspecialchars($attributes['style']) . '"' : '';
294
+            $fullElement[] = isset($attributes['maxlength']) ? ' maxlength="' . htmlspecialchars($attributes['maxlength']) . '"' : '';
295
+            $fullElement[] = '>';
296
+            $fullElement[] = htmlspecialchars($shortenedPlaceholder);
297
+            $fullElement[] = '</textarea>';
298
+            $fullElement[] = '</div>';
299 299
             $fullElement[] = '</div>';
300 300
             $fullElement[] = '<div class="t3js-formengine-placeholder-formfield">';
301
-            $fullElement[] =    $mainFieldHtml;
301
+            $fullElement[] = $mainFieldHtml;
302 302
             $fullElement[] = '</div>';
303 303
             $fullElement = implode(LF, $fullElement);
304 304
         }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/InputLinkElement.php 1 patch
Spacing   +46 added lines, -46 removed lines patch added patch discarded remove patch
@@ -113,14 +113,14 @@  discard block
 block discarded – undo
113 113
             // Early return for read only fields
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[] =               '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
121
-            $html[] =           '</div>';
122
-            $html[] =       '</div>';
123
-            $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[] = '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
121
+            $html[] = '</div>';
122
+            $html[] = '</div>';
123
+            $html[] = '</div>';
124 124
             $html[] = '</div>';
125 125
             $resultArray['html'] = implode(LF, $html);
126 126
             return $resultArray;
@@ -216,31 +216,31 @@  discard block
 block discarded – undo
216 216
 
217 217
         $expansionHtml = [];
218 218
         $expansionHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
219
-        $expansionHtml[] =  '<div class="form-wizards-wrap">';
220
-        $expansionHtml[] =      '<div class="form-wizards-element">';
221
-        $expansionHtml[] =          '<div class="input-group t3js-form-field-inputlink">';
222
-        $expansionHtml[] =              '<span class="t3js-form-field-inputlink-icon input-group-addon">' . ($linkExplanation['icon'] ?? '') . '</span>';
223
-        $expansionHtml[] =              '<input class="form-control t3js-form-field-inputlink-explanation" data-bs-toggle="tooltip" title="' . $explanation . '" value="' . $explanation . '" readonly>';
224
-        $expansionHtml[] =              '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
225
-        $expansionHtml[] =              '<button class="btn btn-default t3js-form-field-inputlink-explanation-toggle" type="button" title="' . htmlspecialchars($toggleButtonTitle) . '">';
226
-        $expansionHtml[] =                  $this->iconFactory->getIcon('actions-version-workspaces-preview-link', Icon::SIZE_SMALL)->render();
227
-        $expansionHtml[] =              '</button>';
228
-        $expansionHtml[] =              '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
229
-        $expansionHtml[] =          '</div>';
230
-        $expansionHtml[] =      '</div>';
219
+        $expansionHtml[] = '<div class="form-wizards-wrap">';
220
+        $expansionHtml[] = '<div class="form-wizards-element">';
221
+        $expansionHtml[] = '<div class="input-group t3js-form-field-inputlink">';
222
+        $expansionHtml[] = '<span class="t3js-form-field-inputlink-icon input-group-addon">' . ($linkExplanation['icon'] ?? '') . '</span>';
223
+        $expansionHtml[] = '<input class="form-control t3js-form-field-inputlink-explanation" data-bs-toggle="tooltip" title="' . $explanation . '" value="' . $explanation . '" readonly>';
224
+        $expansionHtml[] = '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
225
+        $expansionHtml[] = '<button class="btn btn-default t3js-form-field-inputlink-explanation-toggle" type="button" title="' . htmlspecialchars($toggleButtonTitle) . '">';
226
+        $expansionHtml[] = $this->iconFactory->getIcon('actions-version-workspaces-preview-link', Icon::SIZE_SMALL)->render();
227
+        $expansionHtml[] = '</button>';
228
+        $expansionHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
229
+        $expansionHtml[] = '</div>';
230
+        $expansionHtml[] = '</div>';
231 231
         if (!empty($valuePickerHtml) || !empty($fieldControlHtml)) {
232
-            $expansionHtml[] =      '<div class="form-wizards-items-aside">';
233
-            $expansionHtml[] =          '<div class="btn-group">';
234
-            $expansionHtml[] =              implode(LF, $valuePickerHtml);
235
-            $expansionHtml[] =              $fieldControlHtml;
236
-            $expansionHtml[] =          '</div>';
237
-            $expansionHtml[] =      '</div>';
232
+            $expansionHtml[] = '<div class="form-wizards-items-aside">';
233
+            $expansionHtml[] = '<div class="btn-group">';
234
+            $expansionHtml[] = implode(LF, $valuePickerHtml);
235
+            $expansionHtml[] = $fieldControlHtml;
236
+            $expansionHtml[] = '</div>';
237
+            $expansionHtml[] = '</div>';
238 238
         }
239
-        $expansionHtml[] =      '<div class="form-wizards-items-bottom">';
240
-        $expansionHtml[] =          $linkExplanation['additionalAttributes'] ?? '';
241
-        $expansionHtml[] =          $fieldWizardHtml;
242
-        $expansionHtml[] =      '</div>';
243
-        $expansionHtml[] =  '</div>';
239
+        $expansionHtml[] = '<div class="form-wizards-items-bottom">';
240
+        $expansionHtml[] = $linkExplanation['additionalAttributes'] ?? '';
241
+        $expansionHtml[] = $fieldWizardHtml;
242
+        $expansionHtml[] = '</div>';
243
+        $expansionHtml[] = '</div>';
244 244
         $expansionHtml[] = '</div>';
245 245
         $expansionHtml = implode(LF, $expansionHtml);
246 246
 
@@ -250,11 +250,11 @@  discard block
 block discarded – undo
250 250
             $fullElement = [];
251 251
             $fullElement[] = '<div class="t3-form-field-disable"></div>';
252 252
             $fullElement[] = '<div class="form-check t3-form-field-eval-null-checkbox">';
253
-            $fullElement[] =     '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
254
-            $fullElement[] =     '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
255
-            $fullElement[] =     '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
256
-            $fullElement[] =         $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
257
-            $fullElement[] =     '</label>';
253
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
254
+            $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
255
+            $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
256
+            $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
257
+            $fullElement[] = '</label>';
258 258
             $fullElement[] = '</div>';
259 259
             $fullElement[] = $expansionHtml;
260 260
             $fullElement = implode(LF, $fullElement);
@@ -283,19 +283,19 @@  discard block
 block discarded – undo
283 283
             }
284 284
             $fullElement = [];
285 285
             $fullElement[] = '<div class="form-check t3js-form-field-eval-null-placeholder-checkbox">';
286
-            $fullElement[] =     '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
287
-            $fullElement[] =     '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
288
-            $fullElement[] =     '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
289
-            $fullElement[] =         $overrideLabel;
290
-            $fullElement[] =     '</label>';
286
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
287
+            $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
288
+            $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
289
+            $fullElement[] = $overrideLabel;
290
+            $fullElement[] = '</label>';
291 291
             $fullElement[] = '</div>';
292 292
             $fullElement[] = '<div class="t3js-formengine-placeholder-placeholder">';
293
-            $fullElement[] =    '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
294
-            $fullElement[] =        '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
295
-            $fullElement[] =    '</div>';
293
+            $fullElement[] = '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
294
+            $fullElement[] = '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
295
+            $fullElement[] = '</div>';
296 296
             $fullElement[] = '</div>';
297 297
             $fullElement[] = '<div class="t3js-formengine-placeholder-formfield">';
298
-            $fullElement[] =    $expansionHtml;
298
+            $fullElement[] = $expansionHtml;
299 299
             $fullElement[] = '</div>';
300 300
             $fullElement = implode(LF, $fullElement);
301 301
         }
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
 
326 326
         try {
327 327
             $linkData = $linkService->resolve($linkParts['url']);
328
-        } catch (FileDoesNotExistException|FolderDoesNotExistException|UnknownLinkHandlerException|InvalidPathException $e) {
328
+        } catch (FileDoesNotExistException | FolderDoesNotExistException | UnknownLinkHandlerException | InvalidPathException $e) {
329 329
             return $data;
330 330
         }
331 331
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/InputColorPickerElement.php 1 patch
Spacing   +34 added lines, -34 removed lines patch added patch discarded remove patch
@@ -89,14 +89,14 @@  discard block
 block discarded – undo
89 89
         if ($config['readOnly'] ?? false) {
90 90
             $html = [];
91 91
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
92
-            $html[] =   $fieldInformationHtml;
93
-            $html[] =   '<div class="form-wizards-wrap">';
94
-            $html[] =       '<div class="form-wizards-element">';
95
-            $html[] =           '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
96
-            $html[] =               '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
97
-            $html[] =           '</div>';
98
-            $html[] =       '</div>';
99
-            $html[] =   '</div>';
92
+            $html[] = $fieldInformationHtml;
93
+            $html[] = '<div class="form-wizards-wrap">';
94
+            $html[] = '<div class="form-wizards-element">';
95
+            $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
96
+            $html[] = '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
97
+            $html[] = '</div>';
98
+            $html[] = '</div>';
99
+            $html[] = '</div>';
100 100
             $html[] = '</div>';
101 101
             $resultArray['html'] = implode(LF, $html);
102 102
             return $resultArray;
@@ -178,23 +178,23 @@  discard block
 block discarded – undo
178 178
 
179 179
         $mainFieldHtml = [];
180 180
         $mainFieldHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
181
-        $mainFieldHtml[] =  '<div class="form-wizards-wrap">';
182
-        $mainFieldHtml[] =      '<div class="form-wizards-element">';
183
-        $mainFieldHtml[] =          '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
184
-        $mainFieldHtml[] =          '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
185
-        $mainFieldHtml[] =      '</div>';
186
-        $mainFieldHtml[] =      '<div class="form-wizards-items-aside">';
187
-        $mainFieldHtml[] =          '<div class="btn-group">';
188
-        $mainFieldHtml[] =              $fieldControlHtml;
189
-        $mainFieldHtml[] =              implode(LF, $valuePickerHtml);
190
-        $mainFieldHtml[] =          '</div>';
191
-        $mainFieldHtml[] =      '</div>';
181
+        $mainFieldHtml[] = '<div class="form-wizards-wrap">';
182
+        $mainFieldHtml[] = '<div class="form-wizards-element">';
183
+        $mainFieldHtml[] = '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
184
+        $mainFieldHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
185
+        $mainFieldHtml[] = '</div>';
186
+        $mainFieldHtml[] = '<div class="form-wizards-items-aside">';
187
+        $mainFieldHtml[] = '<div class="btn-group">';
188
+        $mainFieldHtml[] = $fieldControlHtml;
189
+        $mainFieldHtml[] = implode(LF, $valuePickerHtml);
190
+        $mainFieldHtml[] = '</div>';
191
+        $mainFieldHtml[] = '</div>';
192 192
         if (!empty($fieldWizardHtml)) {
193 193
             $mainFieldHtml[] = '<div class="form-wizards-items-bottom">';
194 194
             $mainFieldHtml[] = $fieldWizardHtml;
195 195
             $mainFieldHtml[] = '</div>';
196 196
         }
197
-        $mainFieldHtml[] =  '</div>';
197
+        $mainFieldHtml[] = '</div>';
198 198
         $mainFieldHtml[] = '</div>';
199 199
         $mainFieldHtml = implode(LF, $mainFieldHtml);
200 200
 
@@ -204,11 +204,11 @@  discard block
 block discarded – undo
204 204
             $fullElement = [];
205 205
             $fullElement[] = '<div class="t3-form-field-disable"></div>';
206 206
             $fullElement[] = '<div class="form-check t3-form-field-eval-null-checkbox">';
207
-            $fullElement[] =     '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
208
-            $fullElement[] =     '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
209
-            $fullElement[] =     '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
210
-            $fullElement[] =         $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
211
-            $fullElement[] =     '</label>';
207
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
208
+            $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
209
+            $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
210
+            $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
211
+            $fullElement[] = '</label>';
212 212
             $fullElement[] = '</div>';
213 213
             $fullElement[] = $mainFieldHtml;
214 214
             $fullElement = implode(LF, $fullElement);
@@ -237,19 +237,19 @@  discard block
 block discarded – undo
237 237
             }
238 238
             $fullElement = [];
239 239
             $fullElement[] = '<div class="form-check t3js-form-field-eval-null-placeholder-checkbox">';
240
-            $fullElement[] =     '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
241
-            $fullElement[] =     '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
242
-            $fullElement[] =     '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
243
-            $fullElement[] =         $overrideLabel;
244
-            $fullElement[] =     '</label>';
240
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
241
+            $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
242
+            $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
243
+            $fullElement[] = $overrideLabel;
244
+            $fullElement[] = '</label>';
245 245
             $fullElement[] = '</div>';
246 246
             $fullElement[] = '<div class="t3js-formengine-placeholder-placeholder">';
247
-            $fullElement[] =    '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
248
-            $fullElement[] =        '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
249
-            $fullElement[] =    '</div>';
247
+            $fullElement[] = '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
248
+            $fullElement[] = '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
249
+            $fullElement[] = '</div>';
250 250
             $fullElement[] = '</div>';
251 251
             $fullElement[] = '<div class="t3js-formengine-placeholder-formfield">';
252
-            $fullElement[] =    $mainFieldHtml;
252
+            $fullElement[] = $mainFieldHtml;
253 253
             $fullElement[] = '</div>';
254 254
             $fullElement = implode(LF, $fullElement);
255 255
         }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Clipboard/Clipboard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,11 +124,11 @@
 block discarded – undo
124 124
     {
125 125
         $userTsConfig = $this->getBackendUser()->getTSConfig();
126 126
         // Get data
127
-        $clipData = $this->getBackendUser()->getModuleData('clipboard', !empty($userTsConfig['options.']['saveClipboard'])  ? '' : 'ses') ?: [];
127
+        $clipData = $this->getBackendUser()->getModuleData('clipboard', !empty($userTsConfig['options.']['saveClipboard']) ? '' : 'ses') ?: [];
128 128
         $clipData += ['normal' => []];
129 129
         $this->numberTabs = MathUtility::forceIntegerInRange((int)($userTsConfig['options.']['clipboardNumberPads'] ?? 3), 0, 20);
130 130
         // Resets/reinstates the clipboard pads
131
-        $this->clipData['normal'] = is_array($clipData['normal']) ? $clipData['normal']: [];
131
+        $this->clipData['normal'] = is_array($clipData['normal']) ? $clipData['normal'] : [];
132 132
         for ($a = 1; $a <= $this->numberTabs; $a++) {
133 133
             $index = 'tab_' . $a;
134 134
             $this->clipData[$index] = is_iterable($clipData[$index] ?? null) ? $clipData[$index] : [];
Please login to merge, or discard this patch.
tstemplate/Classes/Controller/TemplateAnalyzerModuleFunctionController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -107,8 +107,8 @@
 block discarded – undo
107 107
             1
108 108
         )));
109 109
 
110
-        $assigns['constants'] =  $this->renderTemplates($this->templateService->constants, $selectedTemplate, $highlightType === 'const', $highlightLine);
111
-        $assigns['setups'] =  $this->renderTemplates($this->templateService->config, $selectedTemplate, $highlightType === 'setup', $highlightLine);
110
+        $assigns['constants'] = $this->renderTemplates($this->templateService->constants, $selectedTemplate, $highlightType === 'const', $highlightLine);
111
+        $assigns['setups'] = $this->renderTemplates($this->templateService->config, $selectedTemplate, $highlightType === 'setup', $highlightLine);
112 112
 
113 113
         if (ExtensionManagementUtility::isLoaded('t3editor')) {
114 114
             // @todo: Let EXT:t3editor add the deps via events in the render-loops above
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Utility/GeneralUtility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -994,7 +994,7 @@
 block discarded – undo
994 994
         $result = explode($delim, $string) ?: [];
995 995
         if ($removeEmptyValues) {
996 996
             // Remove items that are just whitespace, but leave whitespace intact for the rest.
997
-            $result = array_values(array_filter($result, fn ($item) => trim($item) !== ''));
997
+            $result = array_values(array_filter($result, fn($item) => trim($item) !== ''));
998 998
         }
999 999
 
1000 1000
         if ($limit === 0) {
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Package/PackageManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
             try {
359 359
                 $packagePath = PathUtility::sanitizeTrailingSeparator($this->packagesBasePath . $stateConfiguration['packagePath']);
360 360
                 $package = new Package($this, $packageKey, $packagePath);
361
-            } catch (InvalidPackagePathException|InvalidPackageKeyException|InvalidPackageManifestException $exception) {
361
+            } catch (InvalidPackagePathException | InvalidPackageKeyException | InvalidPackageManifestException $exception) {
362 362
                 $this->unregisterPackageByPackageKey($packageKey);
363 363
                 $packageStatesHasChanged = true;
364 364
                 continue;
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
         }
416 416
         $this->composerNameToPackageKeyMap = array_filter(
417 417
             $this->composerNameToPackageKeyMap,
418
-            static function ($aliasedKey) use ($packageKey) {
418
+            static function($aliasedKey) use ($packageKey) {
419 419
                 return $aliasedKey !== $packageKey;
420 420
             }
421 421
         );
Please login to merge, or discard this patch.
typo3/sysext/beuser/Classes/Controller/BackendUserController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
                 'paginator' => $paginator,
69 69
                 'pagination' => $pagination,
70 70
                 'totalAmountOfBackendUserGroups' => $backendUsers->count(),
71
-                'compareGroupUidList' => array_map(static function ($value) { // uid as key and force value to 1
71
+                'compareGroupUidList' => array_map(static function($value) { // uid as key and force value to 1
72 72
                     return 1;
73 73
                 }, array_flip($compareGroupUidList)),
74 74
                 'compareGroupList' => !empty($compareGroupUidList) ? $this->backendUserGroupRepository->findByUidList($compareGroupUidList) : [],
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/GroupElement.php 1 patch
Spacing   +108 added lines, -108 removed lines patch added patch discarded remove patch
@@ -49,22 +49,22 @@  discard block
 block discarded – undo
49 49
         ],
50 50
         'insertClipboard' => [
51 51
             'renderType' => 'insertClipboard',
52
-            'after' => [ 'elementBrowser' ],
52
+            'after' => ['elementBrowser'],
53 53
         ],
54 54
         'editPopup' => [
55 55
             'renderType' => 'editPopup',
56 56
             'disabled' => true,
57
-            'after' => [ 'insertClipboard' ],
57
+            'after' => ['insertClipboard'],
58 58
         ],
59 59
         'addRecord' => [
60 60
             'renderType' => 'addRecord',
61 61
             'disabled' => true,
62
-            'after' => [ 'editPopup' ],
62
+            'after' => ['editPopup'],
63 63
         ],
64 64
         'listModule' => [
65 65
             'renderType' => 'listModule',
66 66
             'disabled' => true,
67
-            'after' => [ 'addRecord' ],
67
+            'after' => ['addRecord'],
68 68
         ],
69 69
     ];
70 70
 
@@ -79,19 +79,19 @@  discard block
 block discarded – undo
79 79
         ],
80 80
         'recordsOverview' => [
81 81
             'renderType' => 'recordsOverview',
82
-            'after' => [ 'tableList' ],
82
+            'after' => ['tableList'],
83 83
         ],
84 84
         'localizationStateSelector' => [
85 85
             'renderType' => 'localizationStateSelector',
86
-            'after' => [ 'recordsOverview' ],
86
+            'after' => ['recordsOverview'],
87 87
         ],
88 88
         'otherLanguageContent' => [
89 89
             'renderType' => 'otherLanguageContent',
90
-            'after' => [ 'localizationStateSelector' ],
90
+            'after' => ['localizationStateSelector'],
91 91
         ],
92 92
         'defaultLanguageDifferences' => [
93 93
             'renderType' => 'defaultLanguageDifferences',
94
-            'after' => [ 'otherLanguageContent' ],
94
+            'after' => ['otherLanguageContent'],
95 95
         ],
96 96
     ];
97 97
 
@@ -171,21 +171,21 @@  discard block
 block discarded – undo
171 171
             // Return early if element is read only
172 172
             $html = [];
173 173
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
174
-            $html[] =   $fieldInformationHtml;
175
-            $html[] =   '<div class="form-wizards-wrap">';
176
-            $html[] =       '<div class="form-wizards-element">';
177
-            $html[] =           '<select';
178
-            $html[] =               ' size="' . $size . '"';
179
-            $html[] =               ' disabled="disabled"';
180
-            $html[] =               ' class="form-select"';
181
-            $html[] =               ($maxItems !== 1 && $size !== 1) ? ' multiple="multiple"' : '';
182
-            $html[] =           '>';
183
-            $html[] =               implode(LF, $selectorOptionsHtml);
184
-            $html[] =           '</select>';
185
-            $html[] =       '</div>';
186
-            $html[] =       '<div class="form-wizards-items-aside">';
187
-            $html[] =       '</div>';
188
-            $html[] =   '</div>';
174
+            $html[] = $fieldInformationHtml;
175
+            $html[] = '<div class="form-wizards-wrap">';
176
+            $html[] = '<div class="form-wizards-element">';
177
+            $html[] = '<select';
178
+            $html[] = ' size="' . $size . '"';
179
+            $html[] = ' disabled="disabled"';
180
+            $html[] = ' class="form-select"';
181
+            $html[] = ($maxItems !== 1 && $size !== 1) ? ' multiple="multiple"' : '';
182
+            $html[] = '>';
183
+            $html[] = implode(LF, $selectorOptionsHtml);
184
+            $html[] = '</select>';
185
+            $html[] = '</div>';
186
+            $html[] = '<div class="form-wizards-items-aside">';
187
+            $html[] = '</div>';
188
+            $html[] = '</div>';
189 189
             $html[] = '</div>';
190 190
             $resultArray['html'] = implode(LF, $html);
191 191
             return $resultArray;
@@ -264,105 +264,105 @@  discard block
 block discarded – undo
264 264
 
265 265
         $html = [];
266 266
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
267
-        $html[] =   $fieldInformationHtml;
268
-        $html[] =   '<div class="form-wizards-wrap">';
267
+        $html[] = $fieldInformationHtml;
268
+        $html[] = '<div class="form-wizards-wrap">';
269 269
         if ($internalType === 'db' && (!isset($config['hideSuggest']) || (bool)$config['hideSuggest'] !== true)) {
270
-            $html[] =   '<div class="form-wizards-items-top">';
271
-            $html[] =       '<div class="autocomplete t3-form-suggest-container">';
272
-            $html[] =           '<div class="input-group">';
273
-            $html[] =               '<span class="input-group-addon">';
274
-            $html[] =                   $this->iconFactory->getIcon('actions-search', Icon::SIZE_SMALL)->render();
275
-            $html[] =               '</span>';
276
-            $html[] =               '<input type="search" class="t3-form-suggest form-control"';
277
-            $html[] =                   ' placeholder="' . $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.findRecord') . '"';
278
-            $html[] =                   ' data-fieldname="' . htmlspecialchars($fieldName) . '"';
279
-            $html[] =                   ' data-tablename="' . htmlspecialchars($table) . '"';
280
-            $html[] =                   ' data-field="' . htmlspecialchars($elementName) . '"';
281
-            $html[] =                   ' data-uid="' . htmlspecialchars($this->data['databaseRow']['uid']) . '"';
282
-            $html[] =                   ' data-pid="' . htmlspecialchars($this->data['parentPageRow']['uid'] ?? 0) . '"';
283
-            $html[] =                   ' data-fieldtype="' . htmlspecialchars($config['type']) . '"';
284
-            $html[] =                   ' data-minchars="' . htmlspecialchars((string)$suggestMinimumCharacters) . '"';
285
-            $html[] =                   ' data-datastructureidentifier="' . htmlspecialchars($dataStructureIdentifier) . '"';
286
-            $html[] =                   ' data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"';
287
-            $html[] =                   ' data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"';
288
-            $html[] =                   ' data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"';
289
-            $html[] =                   ' data-flexformcontainerfieldname="' . htmlspecialchars($flexFormContainerFieldName) . '"';
290
-            $html[] =               '/>';
291
-            $html[] =           '</div>';
292
-            $html[] =       '</div>';
293
-            $html[] =   '</div>';
270
+            $html[] = '<div class="form-wizards-items-top">';
271
+            $html[] = '<div class="autocomplete t3-form-suggest-container">';
272
+            $html[] = '<div class="input-group">';
273
+            $html[] = '<span class="input-group-addon">';
274
+            $html[] = $this->iconFactory->getIcon('actions-search', Icon::SIZE_SMALL)->render();
275
+            $html[] = '</span>';
276
+            $html[] = '<input type="search" class="t3-form-suggest form-control"';
277
+            $html[] = ' placeholder="' . $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.findRecord') . '"';
278
+            $html[] = ' data-fieldname="' . htmlspecialchars($fieldName) . '"';
279
+            $html[] = ' data-tablename="' . htmlspecialchars($table) . '"';
280
+            $html[] = ' data-field="' . htmlspecialchars($elementName) . '"';
281
+            $html[] = ' data-uid="' . htmlspecialchars($this->data['databaseRow']['uid']) . '"';
282
+            $html[] = ' data-pid="' . htmlspecialchars($this->data['parentPageRow']['uid'] ?? 0) . '"';
283
+            $html[] = ' data-fieldtype="' . htmlspecialchars($config['type']) . '"';
284
+            $html[] = ' data-minchars="' . htmlspecialchars((string)$suggestMinimumCharacters) . '"';
285
+            $html[] = ' data-datastructureidentifier="' . htmlspecialchars($dataStructureIdentifier) . '"';
286
+            $html[] = ' data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"';
287
+            $html[] = ' data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"';
288
+            $html[] = ' data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"';
289
+            $html[] = ' data-flexformcontainerfieldname="' . htmlspecialchars($flexFormContainerFieldName) . '"';
290
+            $html[] = '/>';
291
+            $html[] = '</div>';
292
+            $html[] = '</div>';
293
+            $html[] = '</div>';
294 294
         }
295
-        $html[] =       '<div class="form-wizards-element">';
296
-        $html[] =           '<input type="hidden" class="t3js-group-hidden-field" data-formengine-input-name="' . htmlspecialchars($elementName) . '" value="' . $itemCanBeSelectedMoreThanOnce . '" />';
297
-        $html[] =           '<select ' . GeneralUtility::implodeAttributes($selectorAttributes, true) . '>';
298
-        $html[] =               implode(LF, $selectorOptionsHtml);
299
-        $html[] =           '</select>';
300
-        $html[] =       '</div>';
301
-        $html[] =       '<div class="form-wizards-items-aside">';
302
-        $html[] =           '<div class="btn-group-vertical">';
303
-        if ($maxItems > 1 && $size >=5 && $showMoveIcons) {
304
-            $html[] =           '<a href="#"';
305
-            $html[] =               ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-top"';
306
-            $html[] =               ' data-fieldname="' . htmlspecialchars($elementName) . '"';
307
-            $html[] =               ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_to_top')) . '"';
308
-            $html[] =           '>';
309
-            $html[] =               $this->iconFactory->getIcon('actions-move-to-top', Icon::SIZE_SMALL)->render();
310
-            $html[] =           '</a>';
295
+        $html[] = '<div class="form-wizards-element">';
296
+        $html[] = '<input type="hidden" class="t3js-group-hidden-field" data-formengine-input-name="' . htmlspecialchars($elementName) . '" value="' . $itemCanBeSelectedMoreThanOnce . '" />';
297
+        $html[] = '<select ' . GeneralUtility::implodeAttributes($selectorAttributes, true) . '>';
298
+        $html[] = implode(LF, $selectorOptionsHtml);
299
+        $html[] = '</select>';
300
+        $html[] = '</div>';
301
+        $html[] = '<div class="form-wizards-items-aside">';
302
+        $html[] = '<div class="btn-group-vertical">';
303
+        if ($maxItems > 1 && $size >= 5 && $showMoveIcons) {
304
+            $html[] = '<a href="#"';
305
+            $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-top"';
306
+            $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"';
307
+            $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_to_top')) . '"';
308
+            $html[] = '>';
309
+            $html[] = $this->iconFactory->getIcon('actions-move-to-top', Icon::SIZE_SMALL)->render();
310
+            $html[] = '</a>';
311 311
         }
312 312
         if ($maxItems > 1 && $size > 1 && $showMoveIcons) {
313
-            $html[] =           '<a href="#"';
314
-            $html[] =               ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-up"';
315
-            $html[] =               ' data-fieldname="' . htmlspecialchars($elementName) . '"';
316
-            $html[] =               ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_up')) . '"';
317
-            $html[] =           '>';
318
-            $html[] =               $this->iconFactory->getIcon('actions-move-up', Icon::SIZE_SMALL)->render();
319
-            $html[] =           '</a>';
320
-            $html[] =           '<a href="#"';
321
-            $html[] =               ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-down"';
322
-            $html[] =               ' data-fieldname="' . htmlspecialchars($elementName) . '"';
323
-            $html[] =               ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_down')) . '"';
324
-            $html[] =           '>';
325
-            $html[] =               $this->iconFactory->getIcon('actions-move-down', Icon::SIZE_SMALL)->render();
326
-            $html[] =           '</a>';
313
+            $html[] = '<a href="#"';
314
+            $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-up"';
315
+            $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"';
316
+            $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_up')) . '"';
317
+            $html[] = '>';
318
+            $html[] = $this->iconFactory->getIcon('actions-move-up', Icon::SIZE_SMALL)->render();
319
+            $html[] = '</a>';
320
+            $html[] = '<a href="#"';
321
+            $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-down"';
322
+            $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"';
323
+            $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_down')) . '"';
324
+            $html[] = '>';
325
+            $html[] = $this->iconFactory->getIcon('actions-move-down', Icon::SIZE_SMALL)->render();
326
+            $html[] = '</a>';
327 327
         }
328 328
         if ($maxItems > 1 && $size >= 5 && $showMoveIcons) {
329
-            $html[] =           '<a href="#"';
330
-            $html[] =               ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-bottom"';
331
-            $html[] =               ' data-fieldname="' . htmlspecialchars($elementName) . '"';
332
-            $html[] =               ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_to_bottom')) . '"';
333
-            $html[] =           '>';
334
-            $html[] =               $this->iconFactory->getIcon('actions-move-to-bottom', Icon::SIZE_SMALL)->render();
335
-            $html[] =           '</a>';
329
+            $html[] = '<a href="#"';
330
+            $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-bottom"';
331
+            $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"';
332
+            $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_to_bottom')) . '"';
333
+            $html[] = '>';
334
+            $html[] = $this->iconFactory->getIcon('actions-move-to-bottom', Icon::SIZE_SMALL)->render();
335
+            $html[] = '</a>';
336 336
         }
337 337
         if ($showDeleteControl) {
338
-            $html[] =           '<a href="#"';
339
-            $html[] =               ' class="btn btn-default t3js-btn-option t3js-btn-removeoption t3js-revert-unique"';
340
-            $html[] =               ' data-fieldname="' . htmlspecialchars($elementName) . '"';
341
-            $html[] =               ' data-uid="' . htmlspecialchars($row['uid']) . '"';
342
-            $html[] =               ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.remove_selected')) . '"';
343
-            $html[] =           '>';
344
-            $html[] =               $this->iconFactory->getIcon('actions-selection-delete', Icon::SIZE_SMALL)->render();
345
-            $html[] =           '</a>';
338
+            $html[] = '<a href="#"';
339
+            $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-removeoption t3js-revert-unique"';
340
+            $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"';
341
+            $html[] = ' data-uid="' . htmlspecialchars($row['uid']) . '"';
342
+            $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.remove_selected')) . '"';
343
+            $html[] = '>';
344
+            $html[] = $this->iconFactory->getIcon('actions-selection-delete', Icon::SIZE_SMALL)->render();
345
+            $html[] = '</a>';
346 346
         }
347
-        $html[] =           '</div>';
348
-        $html[] =       '</div>';
349
-        $html[] =       '<div class="form-wizards-items-aside">';
350
-        $html[] =           '<div class="btn-group-vertical">';
351
-        $html[] =               $fieldControlHtml;
352
-        $html[] =           '</div>';
353
-        $html[] =       '</div>';
347
+        $html[] = '</div>';
348
+        $html[] = '</div>';
349
+        $html[] = '<div class="form-wizards-items-aside">';
350
+        $html[] = '<div class="btn-group-vertical">';
351
+        $html[] = $fieldControlHtml;
352
+        $html[] = '</div>';
353
+        $html[] = '</div>';
354 354
         if (!empty($fieldWizardHtml)) {
355 355
             $html[] = '<div class="form-wizards-items-bottom">';
356 356
             $html[] = $fieldWizardHtml;
357 357
             $html[] = '</div>';
358 358
         }
359
-        $html[] =   '</div>';
360
-        $html[] =   '<input type="hidden"';
361
-        $html[] =       ' data-formengine-validation-rules="' . htmlspecialchars($this->getValidationDataAsJsonString($config)) . '"';
362
-        $html[] =       ' name="' . htmlspecialchars($elementName) . '"';
363
-        $html[] =       ' value="' . htmlspecialchars(implode(',', $listOfSelectedValues)) . '"';
364
-        $html[] =       ' onchange="' . htmlspecialchars(implode('', $parameterArray['fieldChangeFunc'])) . '"';
365
-        $html[] =   ' />';
359
+        $html[] = '</div>';
360
+        $html[] = '<input type="hidden"';
361
+        $html[] = ' data-formengine-validation-rules="' . htmlspecialchars($this->getValidationDataAsJsonString($config)) . '"';
362
+        $html[] = ' name="' . htmlspecialchars($elementName) . '"';
363
+        $html[] = ' value="' . htmlspecialchars(implode(',', $listOfSelectedValues)) . '"';
364
+        $html[] = ' onchange="' . htmlspecialchars(implode('', $parameterArray['fieldChangeFunc'])) . '"';
365
+        $html[] = ' />';
366 366
         $html[] = '</div>';
367 367
 
368 368
         $resultArray['requireJsModules'][] = ['TYPO3/CMS/Backend/FormEngine/Element/GroupElement' => '
Please login to merge, or discard this patch.