Passed
Push — master ( 6450b0...111b47 )
by
unknown
16:37
created
sysext/dashboard/Classes/Widgets/Provider/SysLogErrorsDataProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
         for ($daysBefore = $this->days; $daysBefore >= 0; $daysBefore--) {
104 104
             $this->labels[] = date($format, (int)strtotime('-' . $daysBefore . ' day'));
105 105
             $startPeriod = (int)strtotime('-' . $daysBefore . ' day 0:00:00');
106
-            $endPeriod =  (int)strtotime('-' . $daysBefore . ' day 23:59:59');
106
+            $endPeriod = (int)strtotime('-' . $daysBefore . ' day 23:59:59');
107 107
 
108 108
             $this->data[] = $this->getNumberOfErrorsInPeriod($startPeriod, $endPeriod);
109 109
         }
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
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
     protected function resetConstraintsOnMemoryExhaustionError()
185 185
     {
186 186
         $reservedMemory = new \SplFixedArray(187500); // 3M
187
-        register_shutdown_function(function () use (&$reservedMemory): void {
187
+        register_shutdown_function(function() use (&$reservedMemory): void {
188 188
             $reservedMemory = null; // free the reserved memory
189 189
             $error = error_get_last();
190 190
             if (strpos($error['message'], 'Allowed memory size of') !== false) {
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Resource/ResourceStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2785,7 +2785,7 @@
 block discarded – undo
2785 2785
                         $this->processingFolder = $this->createFolderObject($data['identifier'], $data['name']);
2786 2786
                     }
2787 2787
                 }
2788
-            } catch (InsufficientFolderWritePermissionsException|ResourcePermissionsUnavailableException $e) {
2788
+            } catch (InsufficientFolderWritePermissionsException | ResourcePermissionsUnavailableException $e) {
2789 2789
                 $this->processingFolder = GeneralUtility::makeInstance(
2790 2790
                     InaccessibleFolder::class,
2791 2791
                     $this,
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/LinkHandling/FolderLinkHandler.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
         $combinedIdentifier = ($data['storage'] ?? '0') . ':' . $data['identifier'];
69 69
         try {
70 70
             $folder = $this->getResourceFactory()->getFolderObjectFromCombinedIdentifier($combinedIdentifier);
71
-        } catch (FolderDoesNotExistException|InsufficientFolderAccessPermissionsException $e) {
71
+        } catch (FolderDoesNotExistException | InsufficientFolderAccessPermissionsException $e) {
72 72
             $folder = null;
73 73
         }
74 74
         return ['folder' => $folder];
Please login to merge, or discard this patch.
typo3/sysext/redirects/Classes/Repository/RedirectRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 
68 68
         $constraints = [];
69 69
         if ($demand->hasSourceHosts()) {
70
-            $constraints[] =$queryBuilder->expr()->in(
70
+            $constraints[] = $queryBuilder->expr()->in(
71 71
                 'source_host',
72 72
                 $queryBuilder->createNamedParameter($demand->getSourceHosts(), Connection::PARAM_STR_ARRAY)
73 73
             );
Please login to merge, or discard this patch.
typo3/sysext/dashboard/Classes/WidgetRegistry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
      */
109 109
     protected function checkPermissionOfWidgets(array $widgets): array
110 110
     {
111
-        return array_filter($widgets, function ($identifier) {
111
+        return array_filter($widgets, function($identifier) {
112 112
             return $this->getBackendUser()->check('available_widgets', $identifier);
113 113
         }, ARRAY_FILTER_USE_KEY);
114 114
     }
Please login to merge, or discard this patch.
sysext/backend/Classes/View/Wizard/Element/BackendLayoutWizardElement.php 1 patch
Spacing   +73 added lines, -73 removed lines patch added patch discarded remove patch
@@ -60,84 +60,84 @@
 block discarded – undo
60 60
         $json = (string)json_encode($this->rows, JSON_HEX_QUOT | JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS);
61 61
         $html = [];
62 62
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
63
-        $html[] =   $fieldInformationHtml;
64
-        $html[] =   '<div class="form-control-wrap">';
65
-        $html[] =       '<div class="form-wizards-wrap">';
66
-        $html[] =           '<div class="form-wizards-element">';
67
-        $html[] =               '<input';
68
-        $html[] =                   ' type="hidden"';
69
-        $html[] =                   ' name="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"';
70
-        $html[] =                   ' value="' . htmlspecialchars($this->data['parameterArray']['itemFormElValue']) . '"';
71
-        $html[] =                   '/>';
72
-        $html[] =               '<table class="grideditor table table-bordered">';
73
-        $html[] =                   '<tr>';
74
-        $html[] =                       '<td colspan="2" align="center">';
75
-        $html[] =                           '<div class="btn-group">';
76
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-removerow-top" href="#"';
77
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_removeRow')) . '">';
78
-        $html[] =                                   '<i class="fa fa-fw fa-minus"></i>';
79
-        $html[] =                               '</a>';
80
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-addrow-top" href="#"';
81
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_addRow')) . '">';
82
-        $html[] =                                   '<i class="fa fa-fw fa-plus"></i>';
83
-        $html[] =                               '</a>';
84
-        $html[] =                           '</div>';
85
-        $html[] =                       '</td>';
86
-        $html[] =                   '</tr>';
87
-        $html[] =                   '<tr>';
88
-        $html[] =                       '<td class="editor_cell">';
89
-        $html[] =                           '<div';
90
-        $html[] =                               ' id="editor"';
91
-        $html[] =                               ' class="t3js-grideditor"';
92
-        $html[] =                               ' data-data="' . htmlspecialchars($json) . '"';
93
-        $html[] =                               ' data-rowcount="' . (int)$this->rowCount . '"';
94
-        $html[] =                               ' data-colcount="' . (int)$this->colCount . '"';
95
-        $html[] =                               ' data-field="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"';
96
-        $html[] =                           '>';
97
-        $html[] =                           '</div>';
98
-        $html[] =                       '</td>';
99
-        $html[] =                       '<td>';
100
-        $html[] =                           '<div class="btn-group-vertical">';
101
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-addcolumn" href="#"';
102
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_addColumn')) . '">';
103
-        $html[] =                                   '<i class="fa fa-fw fa-plus"></i>';
104
-        $html[] =                               '</a>';
105
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-removecolumn" href="#"';
106
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_removeColumn')) . '">';
107
-        $html[] =                                   '<i class="fa fa-fw fa-minus"></i>';
108
-        $html[] =                               '</a>';
109
-        $html[] =                           '</div>';
110
-        $html[] =                       '</td>';
111
-        $html[] =                   '</tr>';
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-addrow-bottom" href="#"';
116
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_addRow')) . '">';
117
-        $html[] =                                   '<i class="fa fa-fw fa-plus"></i>';
118
-        $html[] =                               '</a>';
119
-        $html[] =                               '<a class="btn btn-default btn-sm t3js-grideditor-removerow-bottom" href="#"';
120
-        $html[] =                                   ' title="' . htmlspecialchars($lang->getLL('grid_removeRow')) . '">';
121
-        $html[] =                                   '<i class="fa fa-fw fa-minus"></i>';
122
-        $html[] =                               '</a>';
123
-        $html[] =                           '</div>';
124
-        $html[] =                       '</td>';
125
-        $html[] =                   '</tr>';
126
-        $html[] =                   '<tr>';
127
-        $html[] =                       '<td colspan="2">';
128
-        $html[] =                           '<a href="#" class="btn btn-default btn-sm t3js-grideditor-preview-button"></a>';
129
-        $html[] =                           '<pre class="t3js-grideditor-preview-config grideditor-preview"><code></code></pre>';
130
-        $html[] =                       '</td>';
131
-        $html[] =                   '</tr>';
132
-        $html[] =               '</table>';
133
-        $html[] =           '</div>';
63
+        $html[] = $fieldInformationHtml;
64
+        $html[] = '<div class="form-control-wrap">';
65
+        $html[] = '<div class="form-wizards-wrap">';
66
+        $html[] = '<div class="form-wizards-element">';
67
+        $html[] = '<input';
68
+        $html[] = ' type="hidden"';
69
+        $html[] = ' name="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"';
70
+        $html[] = ' value="' . htmlspecialchars($this->data['parameterArray']['itemFormElValue']) . '"';
71
+        $html[] = '/>';
72
+        $html[] = '<table class="grideditor table table-bordered">';
73
+        $html[] = '<tr>';
74
+        $html[] = '<td colspan="2" align="center">';
75
+        $html[] = '<div class="btn-group">';
76
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-removerow-top" href="#"';
77
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_removeRow')) . '">';
78
+        $html[] = '<i class="fa fa-fw fa-minus"></i>';
79
+        $html[] = '</a>';
80
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-addrow-top" href="#"';
81
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_addRow')) . '">';
82
+        $html[] = '<i class="fa fa-fw fa-plus"></i>';
83
+        $html[] = '</a>';
84
+        $html[] = '</div>';
85
+        $html[] = '</td>';
86
+        $html[] = '</tr>';
87
+        $html[] = '<tr>';
88
+        $html[] = '<td class="editor_cell">';
89
+        $html[] = '<div';
90
+        $html[] = ' id="editor"';
91
+        $html[] = ' class="t3js-grideditor"';
92
+        $html[] = ' data-data="' . htmlspecialchars($json) . '"';
93
+        $html[] = ' data-rowcount="' . (int)$this->rowCount . '"';
94
+        $html[] = ' data-colcount="' . (int)$this->colCount . '"';
95
+        $html[] = ' data-field="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"';
96
+        $html[] = '>';
97
+        $html[] = '</div>';
98
+        $html[] = '</td>';
99
+        $html[] = '<td>';
100
+        $html[] = '<div class="btn-group-vertical">';
101
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-addcolumn" href="#"';
102
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_addColumn')) . '">';
103
+        $html[] = '<i class="fa fa-fw fa-plus"></i>';
104
+        $html[] = '</a>';
105
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-removecolumn" href="#"';
106
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_removeColumn')) . '">';
107
+        $html[] = '<i class="fa fa-fw fa-minus"></i>';
108
+        $html[] = '</a>';
109
+        $html[] = '</div>';
110
+        $html[] = '</td>';
111
+        $html[] = '</tr>';
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-addrow-bottom" href="#"';
116
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_addRow')) . '">';
117
+        $html[] = '<i class="fa fa-fw fa-plus"></i>';
118
+        $html[] = '</a>';
119
+        $html[] = '<a class="btn btn-default btn-sm t3js-grideditor-removerow-bottom" href="#"';
120
+        $html[] = ' title="' . htmlspecialchars($lang->getLL('grid_removeRow')) . '">';
121
+        $html[] = '<i class="fa fa-fw fa-minus"></i>';
122
+        $html[] = '</a>';
123
+        $html[] = '</div>';
124
+        $html[] = '</td>';
125
+        $html[] = '</tr>';
126
+        $html[] = '<tr>';
127
+        $html[] = '<td colspan="2">';
128
+        $html[] = '<a href="#" class="btn btn-default btn-sm t3js-grideditor-preview-button"></a>';
129
+        $html[] = '<pre class="t3js-grideditor-preview-config grideditor-preview"><code></code></pre>';
130
+        $html[] = '</td>';
131
+        $html[] = '</tr>';
132
+        $html[] = '</table>';
133
+        $html[] = '</div>';
134 134
         if (!empty($fieldWizardHtml)) {
135 135
             $html[] = '<div class="form-wizards-items-bottom">';
136 136
             $html[] = $fieldWizardHtml;
137 137
             $html[] = '</div>';
138 138
         }
139
-        $html[] =       '</div>';
140
-        $html[] =   '</div>';
139
+        $html[] = '</div>';
140
+        $html[] = '</div>';
141 141
         $html[] = '</div>';
142 142
 
143 143
         $html = implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/SelectTreeElement.php 1 patch
Spacing   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -140,43 +140,43 @@
 block discarded – undo
140 140
         $html = [];
141 141
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
142 142
         $html[] = $fieldInformationHtml;
143
-        $html[] =   '<div class="form-control-wrap">';
144
-        $html[] =       '<div class="form-wizards-wrap">';
145
-        $html[] =           '<div class="form-wizards-element">';
146
-        $html[] =               '<div class="typo3-tceforms-tree">';
147
-        $html[] =                   '<input class="treeRecord" type="hidden" id="' . htmlspecialchars($fieldId) . '"';
148
-        $html[] =                       ' data-formengine-validation-rules="' . htmlspecialchars($this->getValidationDataAsJsonString($config)) . '"';
149
-        $html[] =                       ' data-relatedfieldname="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
150
-        $html[] =                       ' data-tablename="' . htmlspecialchars($this->data['tableName']) . '"';
151
-        $html[] =                       ' data-fieldname="' . htmlspecialchars($this->data['fieldName']) . '"';
152
-        $html[] =                       ' data-uid="' . (int)$this->data['vanillaUid'] . '"';
153
-        $html[] =                       ' data-recordtypevalue="' . htmlspecialchars($this->data['recordTypeValue']) . '"';
154
-        $html[] =                       ' data-datastructureidentifier="' . htmlspecialchars($dataStructureIdentifier) . '"';
155
-        $html[] =                       ' data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"';
156
-        $html[] =                       ' data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"';
157
-        $html[] =                       ' data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"';
158
-        $html[] =                       ' data-flexformcontaineridentifier="' . htmlspecialchars($flexFormContainerIdentifier) . '"';
159
-        $html[] =                       ' data-flexformcontainerfieldname="' . htmlspecialchars($flexFormContainerFieldName) . '"';
160
-        $html[] =                       ' data-flexformsectioncontainerisnew="' . htmlspecialchars((string)$flexFormSectionContainerIsNew) . '"';
161
-        $html[] =                       ' data-command="' . htmlspecialchars($this->data['command']) . '"';
162
-        $html[] =                       ' data-read-only="' . $readOnly . '"';
163
-        $html[] =                       ' data-tree-exclusive-keys="' . htmlspecialchars($exclusiveKeys) . '"';
164
-        $html[] =                       ' data-tree-expand-up-to-level="' . ($expanded ? '999' : '1') . '"';
165
-        $html[] =                       ' data-tree-show-toolbar="' . $showHeader . '"';
166
-        $html[] =                       ' name="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
167
-        $html[] =                       ' id="treeinput' . $formElementId . '"';
168
-        $html[] =                       ' value="' . htmlspecialchars(implode(',', $parameterArray['itemFormElValue'])) . '"';
169
-        $html[] =                   '/>';
170
-        $html[] =               '</div>';
171
-        $html[] =               '<div id="' . $treeWrapperId . '" class="svg-tree-wrapper" style="height: ' . $heightInPx . 'px;"></div>';
172
-        $html[] =           '</div>';
143
+        $html[] = '<div class="form-control-wrap">';
144
+        $html[] = '<div class="form-wizards-wrap">';
145
+        $html[] = '<div class="form-wizards-element">';
146
+        $html[] = '<div class="typo3-tceforms-tree">';
147
+        $html[] = '<input class="treeRecord" type="hidden" id="' . htmlspecialchars($fieldId) . '"';
148
+        $html[] = ' data-formengine-validation-rules="' . htmlspecialchars($this->getValidationDataAsJsonString($config)) . '"';
149
+        $html[] = ' data-relatedfieldname="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
150
+        $html[] = ' data-tablename="' . htmlspecialchars($this->data['tableName']) . '"';
151
+        $html[] = ' data-fieldname="' . htmlspecialchars($this->data['fieldName']) . '"';
152
+        $html[] = ' data-uid="' . (int)$this->data['vanillaUid'] . '"';
153
+        $html[] = ' data-recordtypevalue="' . htmlspecialchars($this->data['recordTypeValue']) . '"';
154
+        $html[] = ' data-datastructureidentifier="' . htmlspecialchars($dataStructureIdentifier) . '"';
155
+        $html[] = ' data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"';
156
+        $html[] = ' data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"';
157
+        $html[] = ' data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"';
158
+        $html[] = ' data-flexformcontaineridentifier="' . htmlspecialchars($flexFormContainerIdentifier) . '"';
159
+        $html[] = ' data-flexformcontainerfieldname="' . htmlspecialchars($flexFormContainerFieldName) . '"';
160
+        $html[] = ' data-flexformsectioncontainerisnew="' . htmlspecialchars((string)$flexFormSectionContainerIsNew) . '"';
161
+        $html[] = ' data-command="' . htmlspecialchars($this->data['command']) . '"';
162
+        $html[] = ' data-read-only="' . $readOnly . '"';
163
+        $html[] = ' data-tree-exclusive-keys="' . htmlspecialchars($exclusiveKeys) . '"';
164
+        $html[] = ' data-tree-expand-up-to-level="' . ($expanded ? '999' : '1') . '"';
165
+        $html[] = ' data-tree-show-toolbar="' . $showHeader . '"';
166
+        $html[] = ' name="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
167
+        $html[] = ' id="treeinput' . $formElementId . '"';
168
+        $html[] = ' value="' . htmlspecialchars(implode(',', $parameterArray['itemFormElValue'])) . '"';
169
+        $html[] = '/>';
170
+        $html[] = '</div>';
171
+        $html[] = '<div id="' . $treeWrapperId . '" class="svg-tree-wrapper" style="height: ' . $heightInPx . 'px;"></div>';
172
+        $html[] = '</div>';
173 173
         if ($readOnly === 'false' && !empty($fieldWizardHtml)) {
174
-            $html[] =       '<div class="form-wizards-items-bottom">';
175
-            $html[] =           $fieldWizardHtml;
176
-            $html[] =       '</div>';
174
+            $html[] = '<div class="form-wizards-items-bottom">';
175
+            $html[] = $fieldWizardHtml;
176
+            $html[] = '</div>';
177 177
         }
178
-        $html[] =       '</div>';
179
-        $html[] =   '</div>';
178
+        $html[] = '</div>';
179
+        $html[] = '</div>';
180 180
         $html[] = '</div>';
181 181
 
182 182
         $resultArray['html'] = implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/GroupElement.php 1 patch
Spacing   +103 added lines, -103 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-control tceforms-multiselect"';
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-control tceforms-multiselect"';
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;
@@ -272,100 +272,100 @@  discard block
 block discarded – undo
272 272
 
273 273
         $html = [];
274 274
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
275
-        $html[] =   $fieldInformationHtml;
276
-        $html[] =   '<div class="form-wizards-wrap">';
275
+        $html[] = $fieldInformationHtml;
276
+        $html[] = '<div class="form-wizards-wrap">';
277 277
         if ($internalType === 'db' && (!isset($config['hideSuggest']) || (bool)$config['hideSuggest'] !== true)) {
278
-            $html[] =   '<div class="form-wizards-items-top">';
279
-            $html[] =       '<div class="autocomplete t3-form-suggest-container">';
280
-            $html[] =           '<div class="input-group">';
281
-            $html[] =               '<span class="input-group-addon">';
282
-            $html[] =                   $this->iconFactory->getIcon('actions-search', Icon::SIZE_SMALL)->render();
283
-            $html[] =               '</span>';
284
-            $html[] =               '<input type="search" class="t3-form-suggest form-control"';
285
-            $html[] =                   ' placeholder="' . $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.findRecord') . '"';
286
-            $html[] =                   ' data-fieldname="' . htmlspecialchars($fieldName) . '"';
287
-            $html[] =                   ' data-tablename="' . htmlspecialchars($table) . '"';
288
-            $html[] =                   ' data-field="' . htmlspecialchars($elementName) . '"';
289
-            $html[] =                   ' data-uid="' . htmlspecialchars($this->data['databaseRow']['uid']) . '"';
290
-            $html[] =                   ' data-pid="' . htmlspecialchars($this->data['parentPageRow']['uid'] ?? 0) . '"';
291
-            $html[] =                   ' data-fieldtype="' . htmlspecialchars($config['type']) . '"';
292
-            $html[] =                   ' data-minchars="' . htmlspecialchars((string)$suggestMinimumCharacters) . '"';
293
-            $html[] =                   ' data-datastructureidentifier="' . htmlspecialchars($dataStructureIdentifier) . '"';
294
-            $html[] =                   ' data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"';
295
-            $html[] =                   ' data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"';
296
-            $html[] =                   ' data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"';
297
-            $html[] =                   ' data-flexformcontainerfieldname="' . htmlspecialchars($flexFormContainerFieldName) . '"';
298
-            $html[] =               '/>';
299
-            $html[] =           '</div>';
300
-            $html[] =       '</div>';
301
-            $html[] =   '</div>';
278
+            $html[] = '<div class="form-wizards-items-top">';
279
+            $html[] = '<div class="autocomplete t3-form-suggest-container">';
280
+            $html[] = '<div class="input-group">';
281
+            $html[] = '<span class="input-group-addon">';
282
+            $html[] = $this->iconFactory->getIcon('actions-search', Icon::SIZE_SMALL)->render();
283
+            $html[] = '</span>';
284
+            $html[] = '<input type="search" class="t3-form-suggest form-control"';
285
+            $html[] = ' placeholder="' . $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.findRecord') . '"';
286
+            $html[] = ' data-fieldname="' . htmlspecialchars($fieldName) . '"';
287
+            $html[] = ' data-tablename="' . htmlspecialchars($table) . '"';
288
+            $html[] = ' data-field="' . htmlspecialchars($elementName) . '"';
289
+            $html[] = ' data-uid="' . htmlspecialchars($this->data['databaseRow']['uid']) . '"';
290
+            $html[] = ' data-pid="' . htmlspecialchars($this->data['parentPageRow']['uid'] ?? 0) . '"';
291
+            $html[] = ' data-fieldtype="' . htmlspecialchars($config['type']) . '"';
292
+            $html[] = ' data-minchars="' . htmlspecialchars((string)$suggestMinimumCharacters) . '"';
293
+            $html[] = ' data-datastructureidentifier="' . htmlspecialchars($dataStructureIdentifier) . '"';
294
+            $html[] = ' data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"';
295
+            $html[] = ' data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"';
296
+            $html[] = ' data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"';
297
+            $html[] = ' data-flexformcontainerfieldname="' . htmlspecialchars($flexFormContainerFieldName) . '"';
298
+            $html[] = '/>';
299
+            $html[] = '</div>';
300
+            $html[] = '</div>';
301
+            $html[] = '</div>';
302 302
         }
303
-        $html[] =       '<div class="form-wizards-element">';
304
-        $html[] =           '<input type="hidden" class="t3js-group-hidden-field" data-formengine-input-name="' . htmlspecialchars($elementName) . '" value="' . $itemCanBeSelectedMoreThanOnce . '" />';
305
-        $html[] =           '<select ' . GeneralUtility::implodeAttributes($selectorAttributes, true) . '>';
306
-        $html[] =               implode(LF, $selectorOptionsHtml);
307
-        $html[] =           '</select>';
308
-        $html[] =       '</div>';
309
-        $html[] =       '<div class="form-wizards-items-aside">';
310
-        $html[] =           '<div class="btn-group-vertical">';
311
-        if ($maxItems > 1 && $size >=5 && $showMoveIcons) {
312
-            $html[] =           '<a href="#"';
313
-            $html[] =               ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-top"';
314
-            $html[] =               ' data-fieldname="' . htmlspecialchars($elementName) . '"';
315
-            $html[] =               ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_to_top')) . '"';
316
-            $html[] =           '>';
317
-            $html[] =               $this->iconFactory->getIcon('actions-move-to-top', Icon::SIZE_SMALL)->render();
318
-            $html[] =           '</a>';
303
+        $html[] = '<div class="form-wizards-element">';
304
+        $html[] = '<input type="hidden" class="t3js-group-hidden-field" data-formengine-input-name="' . htmlspecialchars($elementName) . '" value="' . $itemCanBeSelectedMoreThanOnce . '" />';
305
+        $html[] = '<select ' . GeneralUtility::implodeAttributes($selectorAttributes, true) . '>';
306
+        $html[] = implode(LF, $selectorOptionsHtml);
307
+        $html[] = '</select>';
308
+        $html[] = '</div>';
309
+        $html[] = '<div class="form-wizards-items-aside">';
310
+        $html[] = '<div class="btn-group-vertical">';
311
+        if ($maxItems > 1 && $size >= 5 && $showMoveIcons) {
312
+            $html[] = '<a href="#"';
313
+            $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-top"';
314
+            $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"';
315
+            $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_to_top')) . '"';
316
+            $html[] = '>';
317
+            $html[] = $this->iconFactory->getIcon('actions-move-to-top', Icon::SIZE_SMALL)->render();
318
+            $html[] = '</a>';
319 319
         }
320 320
         if ($maxItems > 1 && $size > 1 && $showMoveIcons) {
321
-            $html[] =           '<a href="#"';
322
-            $html[] =               ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-up"';
323
-            $html[] =               ' data-fieldname="' . htmlspecialchars($elementName) . '"';
324
-            $html[] =               ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_up')) . '"';
325
-            $html[] =           '>';
326
-            $html[] =               $this->iconFactory->getIcon('actions-move-up', Icon::SIZE_SMALL)->render();
327
-            $html[] =           '</a>';
328
-            $html[] =           '<a href="#"';
329
-            $html[] =               ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-down"';
330
-            $html[] =               ' data-fieldname="' . htmlspecialchars($elementName) . '"';
331
-            $html[] =               ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_down')) . '"';
332
-            $html[] =           '>';
333
-            $html[] =               $this->iconFactory->getIcon('actions-move-down', Icon::SIZE_SMALL)->render();
334
-            $html[] =           '</a>';
321
+            $html[] = '<a href="#"';
322
+            $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-up"';
323
+            $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"';
324
+            $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_up')) . '"';
325
+            $html[] = '>';
326
+            $html[] = $this->iconFactory->getIcon('actions-move-up', Icon::SIZE_SMALL)->render();
327
+            $html[] = '</a>';
328
+            $html[] = '<a href="#"';
329
+            $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-down"';
330
+            $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"';
331
+            $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_down')) . '"';
332
+            $html[] = '>';
333
+            $html[] = $this->iconFactory->getIcon('actions-move-down', Icon::SIZE_SMALL)->render();
334
+            $html[] = '</a>';
335 335
         }
336 336
         if ($maxItems > 1 && $size >= 5 && $showMoveIcons) {
337
-            $html[] =           '<a href="#"';
338
-            $html[] =               ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-bottom"';
339
-            $html[] =               ' data-fieldname="' . htmlspecialchars($elementName) . '"';
340
-            $html[] =               ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_to_bottom')) . '"';
341
-            $html[] =           '>';
342
-            $html[] =               $this->iconFactory->getIcon('actions-move-to-bottom', Icon::SIZE_SMALL)->render();
343
-            $html[] =           '</a>';
337
+            $html[] = '<a href="#"';
338
+            $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-moveoption-bottom"';
339
+            $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"';
340
+            $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.move_to_bottom')) . '"';
341
+            $html[] = '>';
342
+            $html[] = $this->iconFactory->getIcon('actions-move-to-bottom', Icon::SIZE_SMALL)->render();
343
+            $html[] = '</a>';
344 344
         }
345 345
         if ($showDeleteControl) {
346
-            $html[] =           '<a href="#"';
347
-            $html[] =               ' class="btn btn-default t3js-btn-option t3js-btn-removeoption t3js-revert-unique"';
348
-            $html[] =               ' data-fieldname="' . htmlspecialchars($elementName) . '"';
349
-            $html[] =               ' data-uid="' . htmlspecialchars($row['uid']) . '"';
350
-            $html[] =               ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.remove_selected')) . '"';
351
-            $html[] =           '>';
352
-            $html[] =               $this->iconFactory->getIcon('actions-selection-delete', Icon::SIZE_SMALL)->render();
353
-            $html[] =           '</a>';
346
+            $html[] = '<a href="#"';
347
+            $html[] = ' class="btn btn-default t3js-btn-option t3js-btn-removeoption t3js-revert-unique"';
348
+            $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"';
349
+            $html[] = ' data-uid="' . htmlspecialchars($row['uid']) . '"';
350
+            $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.remove_selected')) . '"';
351
+            $html[] = '>';
352
+            $html[] = $this->iconFactory->getIcon('actions-selection-delete', Icon::SIZE_SMALL)->render();
353
+            $html[] = '</a>';
354 354
         }
355
-        $html[] =           '</div>';
356
-        $html[] =       '</div>';
357
-        $html[] =       '<div class="form-wizards-items-aside">';
358
-        $html[] =           '<div class="btn-group-vertical">';
359
-        $html[] =               $fieldControlHtml;
360
-        $html[] =           '</div>';
361
-        $html[] =       '</div>';
355
+        $html[] = '</div>';
356
+        $html[] = '</div>';
357
+        $html[] = '<div class="form-wizards-items-aside">';
358
+        $html[] = '<div class="btn-group-vertical">';
359
+        $html[] = $fieldControlHtml;
360
+        $html[] = '</div>';
361
+        $html[] = '</div>';
362 362
         if (!empty($fieldWizardHtml)) {
363 363
             $html[] = '<div class="form-wizards-items-bottom">';
364 364
             $html[] = $fieldWizardHtml;
365 365
             $html[] = '</div>';
366 366
         }
367
-        $html[] =   '</div>';
368
-        $html[] =   '<input type="hidden" name="' . htmlspecialchars($elementName) . '" value="' . htmlspecialchars(implode(',', $listOfSelectedValues)) . '" />';
367
+        $html[] = '</div>';
368
+        $html[] = '<input type="hidden" name="' . htmlspecialchars($elementName) . '" value="' . htmlspecialchars(implode(',', $listOfSelectedValues)) . '" />';
369 369
         $html[] = '</div>';
370 370
 
371 371
         $resultArray['requireJsModules'][] = ['TYPO3/CMS/Backend/FormEngine/Element/GroupElement' => '
Please login to merge, or discard this patch.