Passed
Push — master ( 23b524...a15053 )
by
unknown
154:04 queued 50:20
created
typo3/sysext/backend/Classes/Form/Element/InputTextElement.php 1 patch
Spacing   +38 added lines, -38 removed lines patch added patch discarded remove patch
@@ -104,14 +104,14 @@  discard block
 block discarded – undo
104 104
 
105 105
             $html = [];
106 106
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
107
-            $html[] =   $fieldInformationHtml;
108
-            $html[] =   '<div class="form-wizards-wrap">';
109
-            $html[] =       '<div class="form-wizards-element">';
110
-            $html[] =           '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
111
-            $html[] =               '<input ' . GeneralUtility::implodeAttributes($disabledFieldAttributes, true) . ' disabled>';
112
-            $html[] =           '</div>';
113
-            $html[] =       '</div>';
114
-            $html[] =   '</div>';
107
+            $html[] = $fieldInformationHtml;
108
+            $html[] = '<div class="form-wizards-wrap">';
109
+            $html[] = '<div class="form-wizards-element">';
110
+            $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
111
+            $html[] = '<input ' . GeneralUtility::implodeAttributes($disabledFieldAttributes, true) . ' disabled>';
112
+            $html[] = '</div>';
113
+            $html[] = '</div>';
114
+            $html[] = '</div>';
115 115
             $html[] = '</div>';
116 116
             $resultArray['html'] = implode(LF, $html);
117 117
             return $resultArray;
@@ -185,8 +185,8 @@  discard block
 block discarded – undo
185 185
                     . '.value=this.options[this.selectedIndex].value';
186 186
             }
187 187
             $valuePickerHtml[] = '<select';
188
-            $valuePickerHtml[] =  ' class="form-select form-control-adapt"';
189
-            $valuePickerHtml[] =  ' onchange="' . htmlspecialchars($assignValue . ';this.blur();this.selectedIndex=0;' . implode('', $fieldChangeFunc)) . '"';
188
+            $valuePickerHtml[] = ' class="form-select form-control-adapt"';
189
+            $valuePickerHtml[] = ' onchange="' . htmlspecialchars($assignValue . ';this.blur();this.selectedIndex=0;' . implode('', $fieldChangeFunc)) . '"';
190 190
             $valuePickerHtml[] = '>';
191 191
             $valuePickerHtml[] = '<option></option>';
192 192
             foreach ($config['valuePicker']['items'] as $item) {
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
                 $valueType = 'double';
214 214
                 $itemValue = (double)$itemValue;
215 215
             }
216
-            $callbackParams = [ $table, $row['uid'], $fieldName, $parameterArray['itemFormElName'] ];
216
+            $callbackParams = [$table, $row['uid'], $fieldName, $parameterArray['itemFormElName']];
217 217
             $rangeAttributes = [
218 218
                 'id' => $id,
219 219
                 'type' => 'range',
@@ -258,26 +258,26 @@  discard block
 block discarded – undo
258 258
 
259 259
         $mainFieldHtml = [];
260 260
         $mainFieldHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
261
-        $mainFieldHtml[] =  '<div class="form-wizards-wrap">';
262
-        $mainFieldHtml[] =      '<div class="form-wizards-element">';
263
-        $mainFieldHtml[] =          '<input type="' . $inputType . '" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
264
-        $mainFieldHtml[] =          '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
265
-        $mainFieldHtml[] =      '</div>';
261
+        $mainFieldHtml[] = '<div class="form-wizards-wrap">';
262
+        $mainFieldHtml[] = '<div class="form-wizards-element">';
263
+        $mainFieldHtml[] = '<input type="' . $inputType . '" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
264
+        $mainFieldHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
265
+        $mainFieldHtml[] = '</div>';
266 266
         if (!empty($valuePickerHtml) || !empty($valueSliderHtml) || !empty($fieldControlHtml)) {
267
-            $mainFieldHtml[] =      '<div class="form-wizards-items-aside">';
268
-            $mainFieldHtml[] =          '<div class="btn-group">';
269
-            $mainFieldHtml[] =              implode(LF, $valuePickerHtml);
270
-            $mainFieldHtml[] =              implode(LF, $valueSliderHtml);
271
-            $mainFieldHtml[] =              $fieldControlHtml;
272
-            $mainFieldHtml[] =          '</div>';
273
-            $mainFieldHtml[] =      '</div>';
267
+            $mainFieldHtml[] = '<div class="form-wizards-items-aside">';
268
+            $mainFieldHtml[] = '<div class="btn-group">';
269
+            $mainFieldHtml[] = implode(LF, $valuePickerHtml);
270
+            $mainFieldHtml[] = implode(LF, $valueSliderHtml);
271
+            $mainFieldHtml[] = $fieldControlHtml;
272
+            $mainFieldHtml[] = '</div>';
273
+            $mainFieldHtml[] = '</div>';
274 274
         }
275 275
         if (!empty($fieldWizardHtml)) {
276 276
             $mainFieldHtml[] = '<div class="form-wizards-items-bottom">';
277 277
             $mainFieldHtml[] = $fieldWizardHtml;
278 278
             $mainFieldHtml[] = '</div>';
279 279
         }
280
-        $mainFieldHtml[] =  '</div>';
280
+        $mainFieldHtml[] = '</div>';
281 281
         $mainFieldHtml[] = '</div>';
282 282
         $mainFieldHtml = implode(LF, $mainFieldHtml);
283 283
 
@@ -287,11 +287,11 @@  discard block
 block discarded – undo
287 287
             $fullElement = [];
288 288
             $fullElement[] = '<div class="t3-form-field-disable"></div>';
289 289
             $fullElement[] = '<div class="form-check t3-form-field-eval-null-checkbox">';
290
-            $fullElement[] =     '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
291
-            $fullElement[] =     '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
292
-            $fullElement[] =     '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
293
-            $fullElement[] =         $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
294
-            $fullElement[] =     '</label>';
290
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
291
+            $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
292
+            $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
293
+            $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
294
+            $fullElement[] = '</label>';
295 295
             $fullElement[] = '</div>';
296 296
             $fullElement[] = $mainFieldHtml;
297 297
             $fullElement = implode(LF, $fullElement);
@@ -320,19 +320,19 @@  discard block
 block discarded – undo
320 320
             }
321 321
             $fullElement = [];
322 322
             $fullElement[] = '<div class="form-check t3js-form-field-eval-null-placeholder-checkbox">';
323
-            $fullElement[] =     '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
324
-            $fullElement[] =     '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
325
-            $fullElement[] =     '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
326
-            $fullElement[] =         $overrideLabel;
327
-            $fullElement[] =     '</label>';
323
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
324
+            $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
325
+            $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
326
+            $fullElement[] = $overrideLabel;
327
+            $fullElement[] = '</label>';
328 328
             $fullElement[] = '</div>';
329 329
             $fullElement[] = '<div class="t3js-formengine-placeholder-placeholder">';
330
-            $fullElement[] =    '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
331
-            $fullElement[] =        '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
332
-            $fullElement[] =    '</div>';
330
+            $fullElement[] = '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
331
+            $fullElement[] = '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
332
+            $fullElement[] = '</div>';
333 333
             $fullElement[] = '</div>';
334 334
             $fullElement[] = '<div class="t3js-formengine-placeholder-formfield">';
335
-            $fullElement[] =    $mainFieldHtml;
335
+            $fullElement[] = $mainFieldHtml;
336 336
             $fullElement[] = '</div>';
337 337
             $fullElement = implode(LF, $fullElement);
338 338
         }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/InputLinkElement.php 1 patch
Spacing   +50 added lines, -50 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;
@@ -195,8 +195,8 @@  discard block
 block discarded – undo
195 195
                     . '.value=this.options[this.selectedIndex].value';
196 196
             }
197 197
             $valuePickerHtml[] = '<select';
198
-            $valuePickerHtml[] =  ' class="form-select"';
199
-            $valuePickerHtml[] =  ' onchange="' . htmlspecialchars($assignValue . ';this.blur();this.selectedIndex=0;' . implode('', $fieldChangeFunc)) . '"';
198
+            $valuePickerHtml[] = ' class="form-select"';
199
+            $valuePickerHtml[] = ' onchange="' . htmlspecialchars($assignValue . ';this.blur();this.selectedIndex=0;' . implode('', $fieldChangeFunc)) . '"';
200 200
             $valuePickerHtml[] = '>';
201 201
             $valuePickerHtml[] = '<option></option>';
202 202
             foreach ($config['valuePicker']['items'] as $item) {
@@ -219,33 +219,33 @@  discard block
 block discarded – undo
219 219
 
220 220
         $expansionHtml = [];
221 221
         $expansionHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
222
-        $expansionHtml[] =  '<div class="form-wizards-wrap">';
223
-        $expansionHtml[] =      '<div class="form-wizards-element">';
224
-        $expansionHtml[] =          '<div class="input-group t3js-form-field-inputlink">';
225
-        $expansionHtml[] =              '<span class="t3js-form-field-inputlink-icon input-group-addon">' . $linkExplanation['icon'] . '</span>';
226
-        $expansionHtml[] =              '<input class="form-control t3js-form-field-inputlink-explanation" data-bs-toggle="tooltip" data-title="' . $explanation . '" value="' . $explanation . '" readonly>';
227
-        $expansionHtml[] =              '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
228
-        $expansionHtml[] =              '<span class="input-group-btn">';
229
-        $expansionHtml[] =                  '<button class="btn btn-default t3js-form-field-inputlink-explanation-toggle" type="button" title="' . htmlspecialchars($toggleButtonTitle) . '">';
230
-        $expansionHtml[] =                      $this->iconFactory->getIcon('actions-version-workspaces-preview-link', Icon::SIZE_SMALL)->render();
231
-        $expansionHtml[] =                  '</button>';
232
-        $expansionHtml[] =              '</span>';
233
-        $expansionHtml[] =              '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
234
-        $expansionHtml[] =          '</div>';
235
-        $expansionHtml[] =      '</div>';
222
+        $expansionHtml[] = '<div class="form-wizards-wrap">';
223
+        $expansionHtml[] = '<div class="form-wizards-element">';
224
+        $expansionHtml[] = '<div class="input-group t3js-form-field-inputlink">';
225
+        $expansionHtml[] = '<span class="t3js-form-field-inputlink-icon input-group-addon">' . $linkExplanation['icon'] . '</span>';
226
+        $expansionHtml[] = '<input class="form-control t3js-form-field-inputlink-explanation" data-bs-toggle="tooltip" data-title="' . $explanation . '" value="' . $explanation . '" readonly>';
227
+        $expansionHtml[] = '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
228
+        $expansionHtml[] = '<span class="input-group-btn">';
229
+        $expansionHtml[] = '<button class="btn btn-default t3js-form-field-inputlink-explanation-toggle" type="button" title="' . htmlspecialchars($toggleButtonTitle) . '">';
230
+        $expansionHtml[] = $this->iconFactory->getIcon('actions-version-workspaces-preview-link', Icon::SIZE_SMALL)->render();
231
+        $expansionHtml[] = '</button>';
232
+        $expansionHtml[] = '</span>';
233
+        $expansionHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
234
+        $expansionHtml[] = '</div>';
235
+        $expansionHtml[] = '</div>';
236 236
         if (!empty($valuePickerHtml) || !empty($fieldControlHtml)) {
237
-            $expansionHtml[] =      '<div class="form-wizards-items-aside">';
238
-            $expansionHtml[] =          '<div class="btn-group">';
239
-            $expansionHtml[] =              implode(LF, $valuePickerHtml);
240
-            $expansionHtml[] =              $fieldControlHtml;
241
-            $expansionHtml[] =          '</div>';
242
-            $expansionHtml[] =      '</div>';
237
+            $expansionHtml[] = '<div class="form-wizards-items-aside">';
238
+            $expansionHtml[] = '<div class="btn-group">';
239
+            $expansionHtml[] = implode(LF, $valuePickerHtml);
240
+            $expansionHtml[] = $fieldControlHtml;
241
+            $expansionHtml[] = '</div>';
242
+            $expansionHtml[] = '</div>';
243 243
         }
244
-        $expansionHtml[] =      '<div class="form-wizards-items-bottom">';
245
-        $expansionHtml[] =          $linkExplanation['additionalAttributes'];
246
-        $expansionHtml[] =          $fieldWizardHtml;
247
-        $expansionHtml[] =      '</div>';
248
-        $expansionHtml[] =  '</div>';
244
+        $expansionHtml[] = '<div class="form-wizards-items-bottom">';
245
+        $expansionHtml[] = $linkExplanation['additionalAttributes'];
246
+        $expansionHtml[] = $fieldWizardHtml;
247
+        $expansionHtml[] = '</div>';
248
+        $expansionHtml[] = '</div>';
249 249
         $expansionHtml[] = '</div>';
250 250
         $expansionHtml = implode(LF, $expansionHtml);
251 251
 
@@ -255,11 +255,11 @@  discard block
 block discarded – undo
255 255
             $fullElement = [];
256 256
             $fullElement[] = '<div class="t3-form-field-disable"></div>';
257 257
             $fullElement[] = '<div class="form-check t3-form-field-eval-null-checkbox">';
258
-            $fullElement[] =     '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
259
-            $fullElement[] =     '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
260
-            $fullElement[] =     '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
261
-            $fullElement[] =         $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
262
-            $fullElement[] =     '</label>';
258
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
259
+            $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
260
+            $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
261
+            $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
262
+            $fullElement[] = '</label>';
263 263
             $fullElement[] = '</div>';
264 264
             $fullElement[] = $expansionHtml;
265 265
             $fullElement = implode(LF, $fullElement);
@@ -288,19 +288,19 @@  discard block
 block discarded – undo
288 288
             }
289 289
             $fullElement = [];
290 290
             $fullElement[] = '<div class="form-check t3js-form-field-eval-null-placeholder-checkbox">';
291
-            $fullElement[] =     '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
292
-            $fullElement[] =     '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
293
-            $fullElement[] =     '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
294
-            $fullElement[] =         $overrideLabel;
295
-            $fullElement[] =     '</label>';
291
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
292
+            $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
293
+            $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
294
+            $fullElement[] = $overrideLabel;
295
+            $fullElement[] = '</label>';
296 296
             $fullElement[] = '</div>';
297 297
             $fullElement[] = '<div class="t3js-formengine-placeholder-placeholder">';
298
-            $fullElement[] =    '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
299
-            $fullElement[] =        '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
300
-            $fullElement[] =    '</div>';
298
+            $fullElement[] = '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
299
+            $fullElement[] = '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
300
+            $fullElement[] = '</div>';
301 301
             $fullElement[] = '</div>';
302 302
             $fullElement[] = '<div class="t3js-formengine-placeholder-formfield">';
303
-            $fullElement[] =    $expansionHtml;
303
+            $fullElement[] = $expansionHtml;
304 304
             $fullElement[] = '</div>';
305 305
             $fullElement = implode(LF, $fullElement);
306 306
         }
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
 
331 331
         try {
332 332
             $linkData = $linkService->resolve($linkParts['url']);
333
-        } catch (FileDoesNotExistException|FolderDoesNotExistException|UnknownLinkHandlerException|InvalidPathException $e) {
333
+        } catch (FileDoesNotExistException | FolderDoesNotExistException | UnknownLinkHandlerException | InvalidPathException $e) {
334 334
             return $data;
335 335
         }
336 336
 
Please login to merge, or discard this patch.
sysext/backend/Classes/Form/Element/UserSysFileStorageIsPublicElement.php 1 patch
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -96,27 +96,27 @@
 block discarded – undo
96 96
         $html = [];
97 97
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
98 98
         $html[] = $fieldInformationHtml;
99
-        $html[] =   '<div class="form-wizards-wrap">';
100
-        $html[] =       '<div class="form-wizards-element">';
101
-        $html[] =           '<div class="form-check form-switch">';
102
-        $html[] =               '<input type="checkbox"';
103
-        $html[] =                   ' class="form-check-input"';
104
-        $html[] =                   ' value="1"';
105
-        $html[] =                   ' data-formengine-input-name="' . htmlspecialchars($parameterArray['itemFormElName'], ENT_QUOTES) . '"';
106
-        $html[] =                   ' id="' . htmlspecialchars($checkboxId, ENT_QUOTES) . '"';
107
-        $html[] =                   $checkboxParameters;
108
-        $html[] =                   $isPublic ? ' checked="checked"' : '';
109
-        $html[] =               '/>';
110
-        $html[] =               '<label class="form-check-label" for="' . htmlspecialchars($checkboxId, ENT_QUOTES) . '">';
111
-        $html[] =                   '<span class="form-check-label-text">' . $this->appendValueToLabelInDebugMode('&nbsp;', $isPublicAsString) . '</span>';
112
-        $html[] =               '</label>';
113
-        $html[] =               '<input type="hidden"';
114
-        $html[] =                   ' name="' . htmlspecialchars($parameterArray['itemFormElName'], ENT_QUOTES) . '"';
115
-        $html[] =                   ' value="' . $isPublicAsString . '"';
116
-        $html[] =               ' />';
117
-        $html[] =           '</div>';
118
-        $html[] =       '</div>';
119
-        $html[] =   '</div>';
99
+        $html[] = '<div class="form-wizards-wrap">';
100
+        $html[] = '<div class="form-wizards-element">';
101
+        $html[] = '<div class="form-check form-switch">';
102
+        $html[] = '<input type="checkbox"';
103
+        $html[] = ' class="form-check-input"';
104
+        $html[] = ' value="1"';
105
+        $html[] = ' data-formengine-input-name="' . htmlspecialchars($parameterArray['itemFormElName'], ENT_QUOTES) . '"';
106
+        $html[] = ' id="' . htmlspecialchars($checkboxId, ENT_QUOTES) . '"';
107
+        $html[] = $checkboxParameters;
108
+        $html[] = $isPublic ? ' checked="checked"' : '';
109
+        $html[] = '/>';
110
+        $html[] = '<label class="form-check-label" for="' . htmlspecialchars($checkboxId, ENT_QUOTES) . '">';
111
+        $html[] = '<span class="form-check-label-text">' . $this->appendValueToLabelInDebugMode('&nbsp;', $isPublicAsString) . '</span>';
112
+        $html[] = '</label>';
113
+        $html[] = '<input type="hidden"';
114
+        $html[] = ' name="' . htmlspecialchars($parameterArray['itemFormElName'], ENT_QUOTES) . '"';
115
+        $html[] = ' value="' . $isPublicAsString . '"';
116
+        $html[] = ' />';
117
+        $html[] = '</div>';
118
+        $html[] = '</div>';
119
+        $html[] = '</div>';
120 120
         $html[] = '</div>';
121 121
         $resultArray['html'] = implode(LF, $html);
122 122
         return $resultArray;
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="form-check t3-form-field-eval-null-checkbox">';
248
-            $fullElement[] =     '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
249
-            $fullElement[] =     '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
250
-            $fullElement[] =     '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
251
-            $fullElement[] =         $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
252
-            $fullElement[] =     '</label>';
248
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
249
+            $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
250
+            $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
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="form-check t3js-form-field-eval-null-placeholder-checkbox">';
281
-            $fullElement[] =     '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
282
-            $fullElement[] =     '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
283
-            $fullElement[] =     '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
284
-            $fullElement[] =         $overrideLabel;
285
-            $fullElement[] =     '</label>';
281
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
282
+            $fullElement[] = '<input type="checkbox" class="form-check-input" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
283
+            $fullElement[] = '<label class="form-check-label" for="' . $nullControlNameEscaped . '">';
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.
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']) {
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/dashboard/Classes/Widgets/RssWidget.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
                 'description' => trim(strip_tags((string)$item->description)),
123 123
             ];
124 124
         }
125
-        usort($items, function ($item1, $item2) {
125
+        usort($items, function($item1, $item2) {
126 126
             return new \DateTime($item2['pubDate']) <=> new \DateTime($item1['pubDate']);
127 127
         });
128 128
         $items = array_slice($items, 0, $this->options['limit']);
Please login to merge, or discard this patch.
typo3/sysext/workspaces/Classes/Service/Dependency/CollectionService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -235,7 +235,7 @@
 block discarded – undo
235 235
     protected function getCollectionChildrenCount(array $children): int
236 236
     {
237 237
         return count(
238
-            array_filter($children, function (ReferenceEntity $child) {
238
+            array_filter($children, function(ReferenceEntity $child) {
239 239
                 return isset($this->dataArray[$child->getElement()->__toString()]);
240 240
             })
241 241
         );
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/ServiceProvider.php 1 patch
Spacing   +42 added lines, -42 removed lines patch added patch discarded remove patch
@@ -39,54 +39,54 @@
 block discarded – undo
39 39
     public function getFactories(): array
40 40
     {
41 41
         return [
42
-            SymfonyEventDispatcher::class => [ static::class, 'getSymfonyEventDispatcher' ],
43
-            Cache\CacheManager::class => [ static::class, 'getCacheManager' ],
44
-            Charset\CharsetConverter::class => [ static::class, 'getCharsetConverter' ],
45
-            Configuration\SiteConfiguration::class => [ static::class, 'getSiteConfiguration' ],
46
-            Command\ListCommand::class => [ static::class, 'getListCommand' ],
47
-            HelpCommand::class => [ static::class, 'getHelpCommand' ],
48
-            Command\DumpAutoloadCommand::class => [ static::class, 'getDumpAutoloadCommand' ],
49
-            Console\CommandApplication::class => [ static::class, 'getConsoleCommandApplication' ],
50
-            Console\CommandRegistry::class => [ static::class, 'getConsoleCommandRegistry' ],
51
-            Context\Context::class => [ static::class, 'getContext' ],
52
-            Crypto\PasswordHashing\PasswordHashFactory::class => [ static::class, 'getPasswordHashFactory' ],
53
-            EventDispatcher\EventDispatcher::class => [ static::class, 'getEventDispatcher' ],
54
-            EventDispatcher\ListenerProvider::class => [ static::class, 'getEventListenerProvider' ],
55
-            Http\MiddlewareStackResolver::class => [ static::class, 'getMiddlewareStackResolver' ],
56
-            Http\RequestFactory::class => [ static::class, 'getRequestFactory' ],
57
-            Imaging\IconFactory::class => [ static::class, 'getIconFactory' ],
58
-            Imaging\IconRegistry::class => [ static::class, 'getIconRegistry' ],
59
-            Localization\LanguageServiceFactory::class => [ static::class, 'getLanguageServiceFactory' ],
60
-            Localization\LanguageStore::class => [ static::class, 'getLanguageStore' ],
61
-            Localization\Locales::class => [ static::class, 'getLocales' ],
62
-            Localization\LocalizationFactory::class => [ static::class, 'getLocalizationFactory' ],
63
-            Mail\TransportFactory::class => [ static::class, 'getMailTransportFactory' ],
64
-            Messaging\FlashMessageService::class => [ static::class, 'getFlashMessageService' ],
65
-            Middleware\ResponsePropagation::class => [ static::class, 'getResponsePropagationMiddleware' ],
66
-            Package\FailsafePackageManager::class => [ static::class, 'getFailsafePackageManager' ],
67
-            Registry::class => [ static::class, 'getRegistry' ],
68
-            Resource\Index\FileIndexRepository::class => [ static::class, 'getFileIndexRepository' ],
69
-            Resource\Index\MetaDataRepository::class => [ static::class, 'getMetaDataRepository' ],
70
-            Resource\Driver\DriverRegistry::class => [ static::class, 'getDriverRegistry' ],
71
-            Resource\ProcessedFileRepository::class => [ static::class, 'getProcessedFileRepository' ],
72
-            Resource\ResourceFactory::class => [ static::class, 'getResourceFactory' ],
73
-            Resource\StorageRepository::class => [ static::class, 'getStorageRepository' ],
74
-            Service\DependencyOrderingService::class => [ static::class, 'getDependencyOrderingService' ],
75
-            Service\FlexFormService::class => [ static::class, 'getFlexFormService' ],
76
-            Service\OpcodeCacheService::class => [ static::class, 'getOpcodeCacheService' ],
77
-            TimeTracker\TimeTracker::class => [ static::class, 'getTimeTracker' ],
78
-            TypoScript\Parser\ConstantConfigurationParser::class => [ static::class, 'getTypoScriptConstantConfigurationParser' ],
79
-            TypoScript\TypoScriptService::class => [ static::class, 'getTypoScriptService' ],
80
-            'middlewares' => [ static::class, 'getMiddlewares' ],
42
+            SymfonyEventDispatcher::class => [static::class, 'getSymfonyEventDispatcher'],
43
+            Cache\CacheManager::class => [static::class, 'getCacheManager'],
44
+            Charset\CharsetConverter::class => [static::class, 'getCharsetConverter'],
45
+            Configuration\SiteConfiguration::class => [static::class, 'getSiteConfiguration'],
46
+            Command\ListCommand::class => [static::class, 'getListCommand'],
47
+            HelpCommand::class => [static::class, 'getHelpCommand'],
48
+            Command\DumpAutoloadCommand::class => [static::class, 'getDumpAutoloadCommand'],
49
+            Console\CommandApplication::class => [static::class, 'getConsoleCommandApplication'],
50
+            Console\CommandRegistry::class => [static::class, 'getConsoleCommandRegistry'],
51
+            Context\Context::class => [static::class, 'getContext'],
52
+            Crypto\PasswordHashing\PasswordHashFactory::class => [static::class, 'getPasswordHashFactory'],
53
+            EventDispatcher\EventDispatcher::class => [static::class, 'getEventDispatcher'],
54
+            EventDispatcher\ListenerProvider::class => [static::class, 'getEventListenerProvider'],
55
+            Http\MiddlewareStackResolver::class => [static::class, 'getMiddlewareStackResolver'],
56
+            Http\RequestFactory::class => [static::class, 'getRequestFactory'],
57
+            Imaging\IconFactory::class => [static::class, 'getIconFactory'],
58
+            Imaging\IconRegistry::class => [static::class, 'getIconRegistry'],
59
+            Localization\LanguageServiceFactory::class => [static::class, 'getLanguageServiceFactory'],
60
+            Localization\LanguageStore::class => [static::class, 'getLanguageStore'],
61
+            Localization\Locales::class => [static::class, 'getLocales'],
62
+            Localization\LocalizationFactory::class => [static::class, 'getLocalizationFactory'],
63
+            Mail\TransportFactory::class => [static::class, 'getMailTransportFactory'],
64
+            Messaging\FlashMessageService::class => [static::class, 'getFlashMessageService'],
65
+            Middleware\ResponsePropagation::class => [static::class, 'getResponsePropagationMiddleware'],
66
+            Package\FailsafePackageManager::class => [static::class, 'getFailsafePackageManager'],
67
+            Registry::class => [static::class, 'getRegistry'],
68
+            Resource\Index\FileIndexRepository::class => [static::class, 'getFileIndexRepository'],
69
+            Resource\Index\MetaDataRepository::class => [static::class, 'getMetaDataRepository'],
70
+            Resource\Driver\DriverRegistry::class => [static::class, 'getDriverRegistry'],
71
+            Resource\ProcessedFileRepository::class => [static::class, 'getProcessedFileRepository'],
72
+            Resource\ResourceFactory::class => [static::class, 'getResourceFactory'],
73
+            Resource\StorageRepository::class => [static::class, 'getStorageRepository'],
74
+            Service\DependencyOrderingService::class => [static::class, 'getDependencyOrderingService'],
75
+            Service\FlexFormService::class => [static::class, 'getFlexFormService'],
76
+            Service\OpcodeCacheService::class => [static::class, 'getOpcodeCacheService'],
77
+            TimeTracker\TimeTracker::class => [static::class, 'getTimeTracker'],
78
+            TypoScript\Parser\ConstantConfigurationParser::class => [static::class, 'getTypoScriptConstantConfigurationParser'],
79
+            TypoScript\TypoScriptService::class => [static::class, 'getTypoScriptService'],
80
+            'middlewares' => [static::class, 'getMiddlewares'],
81 81
         ];
82 82
     }
83 83
 
84 84
     public function getExtensions(): array
85 85
     {
86 86
         return [
87
-            Console\CommandRegistry::class => [ static::class, 'configureCommands' ],
88
-            EventDispatcherInterface::class => [ static::class, 'provideFallbackEventDispatcher' ],
89
-            EventDispatcher\ListenerProvider::class => [ static::class, 'extendEventListenerProvider' ],
87
+            Console\CommandRegistry::class => [static::class, 'configureCommands'],
88
+            EventDispatcherInterface::class => [static::class, 'provideFallbackEventDispatcher'],
89
+            EventDispatcher\ListenerProvider::class => [static::class, 'extendEventListenerProvider'],
90 90
         ] + parent::getExtensions();
91 91
     }
92 92
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Container/FlexFormContainerContainer.php 1 patch
Spacing   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -101,35 +101,35 @@
 block discarded – undo
101 101
 
102 102
         $html = [];
103 103
         $html[] = '<div ' . GeneralUtility::implodeAttributes($containerAttributes, true) . '>';
104
-        $html[] =    '<input class="t3js-flex-control-action" type="hidden" name="' . htmlspecialchars($actionFieldName) . '" value="" />';
105
-        $html[] =    '<div ' . GeneralUtility::implodeAttributes($panelHeaderAttributes, true) . '>';
106
-        $html[] =        '<div class="form-irre-header">';
107
-        $html[] =            '<div class="form-irre-header-cell form-irre-header-icon">';
108
-        $html[] =                '<span class="caret"></span>';
109
-        $html[] =            '</div>';
110
-        $html[] =            '<button ' . GeneralUtility::implodeAttributes($toggleAttributes, true) . '>';
111
-        $html[] =                '<div class="form-irre-header-cell form-irre-header-body">';
112
-        $html[] =                    htmlspecialchars($containerTitle);
113
-        $html[] =                    '<output class="content-preview"></output>';
114
-        $html[] =                '</div>';
115
-        $html[] =            '</button>';
116
-        $html[] =            '<div class="form-irre-header-cell form-irre-header-control t3js-formengine-irre-control">';
117
-        $html[] =                '<div class="btn-group btn-group-sm">';
118
-        $html[] =                    implode(LF, $moveAndDeleteContent);
119
-        $html[] =                '</div>';
120
-        $html[] =            '</div>';
121
-        $html[] =        '</div>';
122
-        $html[] =    '</div>';
123
-        $html[] =    '<div id="' . htmlspecialchars($flexFormDomContainerId) . '" class="collapse t3js-flex-section-content ' . ($flexFormContainerElementCollapsed ? '' : 'show') . '">';
124
-        $html[] =        $containerContentResult['html'];
125
-        $html[] =    '</div>';
126
-        $html[] =    '<input';
127
-        $html[] =        'class="t3js-flex-control-toggle"';
128
-        $html[] =        'type="hidden"';
129
-        $html[] =        'id="flexform-toggle-container-' . htmlspecialchars($flexFormContainerIdentifier) . '"';
130
-        $html[] =        'name="' . htmlspecialchars($toggleFieldName) . '"';
131
-        $html[] =        'value="' . ($flexFormContainerElementCollapsed ? '1' : '0') . '"';
132
-        $html[] =    '/>';
104
+        $html[] = '<input class="t3js-flex-control-action" type="hidden" name="' . htmlspecialchars($actionFieldName) . '" value="" />';
105
+        $html[] = '<div ' . GeneralUtility::implodeAttributes($panelHeaderAttributes, true) . '>';
106
+        $html[] = '<div class="form-irre-header">';
107
+        $html[] = '<div class="form-irre-header-cell form-irre-header-icon">';
108
+        $html[] = '<span class="caret"></span>';
109
+        $html[] = '</div>';
110
+        $html[] = '<button ' . GeneralUtility::implodeAttributes($toggleAttributes, true) . '>';
111
+        $html[] = '<div class="form-irre-header-cell form-irre-header-body">';
112
+        $html[] = htmlspecialchars($containerTitle);
113
+        $html[] = '<output class="content-preview"></output>';
114
+        $html[] = '</div>';
115
+        $html[] = '</button>';
116
+        $html[] = '<div class="form-irre-header-cell form-irre-header-control t3js-formengine-irre-control">';
117
+        $html[] = '<div class="btn-group btn-group-sm">';
118
+        $html[] = implode(LF, $moveAndDeleteContent);
119
+        $html[] = '</div>';
120
+        $html[] = '</div>';
121
+        $html[] = '</div>';
122
+        $html[] = '</div>';
123
+        $html[] = '<div id="' . htmlspecialchars($flexFormDomContainerId) . '" class="collapse t3js-flex-section-content ' . ($flexFormContainerElementCollapsed ? '' : 'show') . '">';
124
+        $html[] = $containerContentResult['html'];
125
+        $html[] = '</div>';
126
+        $html[] = '<input';
127
+        $html[] = 'class="t3js-flex-control-toggle"';
128
+        $html[] = 'type="hidden"';
129
+        $html[] = 'id="flexform-toggle-container-' . htmlspecialchars($flexFormContainerIdentifier) . '"';
130
+        $html[] = 'name="' . htmlspecialchars($toggleFieldName) . '"';
131
+        $html[] = 'value="' . ($flexFormContainerElementCollapsed ? '1' : '0') . '"';
132
+        $html[] = '/>';
133 133
         $html[] = '</div>';
134 134
 
135 135
         $resultArray['html'] = implode(LF, $html);
Please login to merge, or discard this patch.