Passed
Push — master ( 933edc...f61bbf )
by
unknown
15:51
created
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.
typo3/sysext/backend/Classes/Form/Element/BackendLayoutWizardElement.php 1 patch
Spacing   +72 added lines, -72 removed lines patch added patch discarded remove patch
@@ -99,83 +99,83 @@
 block discarded – undo
99 99
         $json = (string)json_encode($this->rows, JSON_HEX_QUOT | JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS);
100 100
         $html = [];
101 101
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
102
-        $html[] =   $fieldInformationHtml;
103
-        $html[] =   '<div class="form-control-wrap">';
104
-        $html[] =       '<div class="form-wizards-wrap">';
105
-        $html[] =           '<div class="form-wizards-element">';
106
-        $html[] =               '<input';
107
-        $html[] =                   ' type="hidden"';
108
-        $html[] =                   ' name="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"';
109
-        $html[] =                   ' value="' . htmlspecialchars($this->data['parameterArray']['itemFormElValue']) . '"';
110
-        $html[] =                   '/>';
111
-        $html[] =               '<table class="grideditor table table-bordered">';
112
-        $html[] =                   '<tr>';
113
-        $html[] =                       '<td colspan="2" align="center">';
114
-        $html[] =                           '<div class="btn-group">';
115
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-removerow-top" href="#"';
116
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_removeRow')) . '">';
117
-        $html[] =                                   '<i class="fa fa-fw fa-minus"></i>';
118
-        $html[] =                               '</a>';
119
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-addrow-top" href="#"';
120
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_addRow')) . '">';
121
-        $html[] =                                   '<i class="fa fa-fw fa-plus"></i>';
122
-        $html[] =                               '</a>';
123
-        $html[] =                           '</div>';
124
-        $html[] =                       '</td>';
125
-        $html[] =                   '</tr>';
126
-        $html[] =                   '<tr>';
127
-        $html[] =                       '<td class="editor_cell">';
128
-        $html[] =                           '<div';
129
-        $html[] =                               ' id="editor"';
130
-        $html[] =                               ' class="t3js-grideditor"';
131
-        $html[] =                               ' data-data="' . htmlspecialchars($json) . '"';
132
-        $html[] =                               ' data-rowcount="' . (int)$this->rowCount . '"';
133
-        $html[] =                               ' data-colcount="' . (int)$this->colCount . '"';
134
-        $html[] =                               ' data-field="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"';
135
-        $html[] =                           '>';
136
-        $html[] =                           '</div>';
137
-        $html[] =                       '</td>';
138
-        $html[] =                       '<td>';
139
-        $html[] =                           '<div class="btn-group-vertical">';
140
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-addcolumn" href="#"';
141
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_addColumn')) . '">';
142
-        $html[] =                                   '<i class="fa fa-fw fa-plus"></i>';
143
-        $html[] =                               '</a>';
144
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-removecolumn" href="#"';
145
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_removeColumn')) . '">';
146
-        $html[] =                                   '<i class="fa fa-fw fa-minus"></i>';
147
-        $html[] =                               '</a>';
148
-        $html[] =                           '</div>';
149
-        $html[] =                       '</td>';
150
-        $html[] =                   '</tr>';
151
-        $html[] =                   '<tr>';
152
-        $html[] =                       '<td colspan="2" align="center">';
153
-        $html[] =                           '<div class="btn-group">';
154
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-addrow-bottom" href="#"';
155
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_addRow')) . '">';
156
-        $html[] =                                   '<i class="fa fa-fw fa-plus"></i>';
157
-        $html[] =                               '</a>';
158
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-removerow-bottom" href="#"';
159
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_removeRow')) . '">';
160
-        $html[] =                                   '<i class="fa fa-fw fa-minus"></i>';
161
-        $html[] =                               '</a>';
162
-        $html[] =                           '</div>';
163
-        $html[] =                       '</td>';
164
-        $html[] =                   '</tr>';
165
-        $html[] =                   '<tr>';
166
-        $html[] =                       '<td colspan="2">';
167
-        $html[] =                           $editor;
168
-        $html[] =                       '</td>';
169
-        $html[] =                   '</tr>';
170
-        $html[] =               '</table>';
171
-        $html[] =           '</div>';
102
+        $html[] = $fieldInformationHtml;
103
+        $html[] = '<div class="form-control-wrap">';
104
+        $html[] = '<div class="form-wizards-wrap">';
105
+        $html[] = '<div class="form-wizards-element">';
106
+        $html[] = '<input';
107
+        $html[] = ' type="hidden"';
108
+        $html[] = ' name="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"';
109
+        $html[] = ' value="' . htmlspecialchars($this->data['parameterArray']['itemFormElValue']) . '"';
110
+        $html[] = '/>';
111
+        $html[] = '<table class="grideditor table table-bordered">';
112
+        $html[] = '<tr>';
113
+        $html[] = '<td colspan="2" align="center">';
114
+        $html[] = '<div class="btn-group">';
115
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-removerow-top" href="#"';
116
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_removeRow')) . '">';
117
+        $html[] = '<i class="fa fa-fw fa-minus"></i>';
118
+        $html[] = '</a>';
119
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-addrow-top" href="#"';
120
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_addRow')) . '">';
121
+        $html[] = '<i class="fa fa-fw fa-plus"></i>';
122
+        $html[] = '</a>';
123
+        $html[] = '</div>';
124
+        $html[] = '</td>';
125
+        $html[] = '</tr>';
126
+        $html[] = '<tr>';
127
+        $html[] = '<td class="editor_cell">';
128
+        $html[] = '<div';
129
+        $html[] = ' id="editor"';
130
+        $html[] = ' class="t3js-grideditor"';
131
+        $html[] = ' data-data="' . htmlspecialchars($json) . '"';
132
+        $html[] = ' data-rowcount="' . (int)$this->rowCount . '"';
133
+        $html[] = ' data-colcount="' . (int)$this->colCount . '"';
134
+        $html[] = ' data-field="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"';
135
+        $html[] = '>';
136
+        $html[] = '</div>';
137
+        $html[] = '</td>';
138
+        $html[] = '<td>';
139
+        $html[] = '<div class="btn-group-vertical">';
140
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-addcolumn" href="#"';
141
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_addColumn')) . '">';
142
+        $html[] = '<i class="fa fa-fw fa-plus"></i>';
143
+        $html[] = '</a>';
144
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-removecolumn" href="#"';
145
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_removeColumn')) . '">';
146
+        $html[] = '<i class="fa fa-fw fa-minus"></i>';
147
+        $html[] = '</a>';
148
+        $html[] = '</div>';
149
+        $html[] = '</td>';
150
+        $html[] = '</tr>';
151
+        $html[] = '<tr>';
152
+        $html[] = '<td colspan="2" align="center">';
153
+        $html[] = '<div class="btn-group">';
154
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-addrow-bottom" href="#"';
155
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_addRow')) . '">';
156
+        $html[] = '<i class="fa fa-fw fa-plus"></i>';
157
+        $html[] = '</a>';
158
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-removerow-bottom" href="#"';
159
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_removeRow')) . '">';
160
+        $html[] = '<i class="fa fa-fw fa-minus"></i>';
161
+        $html[] = '</a>';
162
+        $html[] = '</div>';
163
+        $html[] = '</td>';
164
+        $html[] = '</tr>';
165
+        $html[] = '<tr>';
166
+        $html[] = '<td colspan="2">';
167
+        $html[] = $editor;
168
+        $html[] = '</td>';
169
+        $html[] = '</tr>';
170
+        $html[] = '</table>';
171
+        $html[] = '</div>';
172 172
         if (!empty($fieldWizardHtml)) {
173 173
             $html[] = '<div class="form-wizards-items-bottom">';
174 174
             $html[] = $fieldWizardHtml;
175 175
             $html[] = '</div>';
176 176
         }
177
-        $html[] =       '</div>';
178
-        $html[] =   '</div>';
177
+        $html[] = '</div>';
178
+        $html[] = '</div>';
179 179
         $html[] = '</div>';
180 180
 
181 181
         $html = implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/extensionmanager/Classes/Controller/ListController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -360,7 +360,7 @@
 block discarded – undo
360 360
 
361 361
     protected function extensionsWithUpdate(array $availableAndInstalledExtensions): array
362 362
     {
363
-        return array_filter($availableAndInstalledExtensions, static function ($extension) {
363
+        return array_filter($availableAndInstalledExtensions, static function($extension) {
364 364
             return $extension['updateAvailable'] ?? false;
365 365
         });
366 366
     }
Please login to merge, or discard this patch.
typo3/sysext/belog/Classes/Controller/BackendLogController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
     protected function resetConstraintsOnMemoryExhaustionError()
167 167
     {
168 168
         $reservedMemory = new \SplFixedArray(187500); // 3M
169
-        register_shutdown_function(function () use (&$reservedMemory): void {
169
+        register_shutdown_function(function() use (&$reservedMemory): void {
170 170
             $reservedMemory = null; // free the reserved memory
171 171
             $error = error_get_last();
172 172
             if (strpos($error['message'] ?? '', 'Allowed memory size of') !== false) {
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Log/LogManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,14 +136,14 @@  discard block
 block discarded – undo
136 136
     {
137 137
         $configuration = $this->getConfigurationForLogger(self::CONFIGURATION_TYPE_WRITER, $logger->getName());
138 138
         foreach ($configuration as $severityLevel => $writer) {
139
-            $writer = array_filter($writer, static fn (array $options) => !($options['disabled'] ?? false));
139
+            $writer = array_filter($writer, static fn(array $options) => !($options['disabled'] ?? false));
140 140
             foreach ($writer as $logWriterClassName => $logWriterOptions) {
141 141
                 try {
142 142
                     unset($logWriterOptions['disabled']);
143 143
                     /** @var \TYPO3\CMS\Core\Log\Writer\WriterInterface $logWriter */
144 144
                     $logWriter = GeneralUtility::makeInstance($logWriterClassName, $logWriterOptions);
145 145
                     $logger->addWriter($severityLevel, $logWriter);
146
-                } catch (InvalidArgumentException|InvalidLogWriterConfigurationException $e) {
146
+                } catch (InvalidArgumentException | InvalidLogWriterConfigurationException $e) {
147 147
                     $logger->warning('Instantiation of LogWriter "{class_name}" failed for logger {name}', [
148 148
                         'class_name' => $logWriterClassName,
149 149
                         'name' => $logger->getName(),
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
                     /** @var \TYPO3\CMS\Core\Log\Processor\ProcessorInterface $logProcessor */
169 169
                     $logProcessor = GeneralUtility::makeInstance($logProcessorClassName, $logProcessorOptions);
170 170
                     $logger->addProcessor($severityLevel, $logProcessor);
171
-                } catch (InvalidArgumentException|InvalidLogProcessorConfigurationException $e) {
171
+                } catch (InvalidArgumentException | InvalidLogProcessorConfigurationException $e) {
172 172
                     $logger->warning('Instantiation of LogProcessor "{class_name}" failed for logger {name}', [
173 173
                         'class_name' => $logProcessorClassName,
174 174
                         'name' => $logger->getName(),
Please login to merge, or discard this patch.