Passed
Push — master ( e3ae11...e9daa0 )
by
unknown
34:35 queued 16:33
created
typo3/sysext/backend/Classes/Form/Element/SelectCheckBoxElement.php 1 patch
Spacing   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
 
165 165
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item" data-formengine-validation-rules="' . htmlspecialchars($this->getValidationDataAsJsonString($config)) . '">';
166 166
             $html[] = $fieldInformationHtml;
167
-            $html[] =   '<div class="form-wizards-wrap">';
168
-            $html[] =       '<div class="form-wizards-element">';
167
+            $html[] = '<div class="form-wizards-wrap">';
168
+            $html[] = '<div class="form-wizards-element">';
169 169
 
170 170
             // Add an empty hidden field which will send a blank value if all items are unselected.
171 171
             $html[] = '<input type="hidden" class="select-checkbox" name="' . htmlspecialchars($parameterArray['itemFormElName']) . '" value="">';
@@ -189,22 +189,22 @@  discard block
 block discarded – undo
189 189
                     // Render rows
190 190
                     foreach ($group['items'] as $item) {
191 191
                         $tableRows[] = '<tr class="' . $item['class'] . '">';
192
-                        $tableRows[] =    '<td class="col-checkbox">';
193
-                        $tableRows[] =        '<input type="checkbox" class="t3js-checkbox" '
192
+                        $tableRows[] = '<td class="col-checkbox">';
193
+                        $tableRows[] = '<input type="checkbox" class="t3js-checkbox" '
194 194
                                             . 'id="' . $item['id'] . '" '
195 195
                                             . 'name="' . htmlspecialchars($item['name']) . '" '
196 196
                                             . 'value="' . htmlspecialchars($item['value']) . '" '
197 197
                                             . 'onclick="' . htmlspecialchars($sOnChange) . '" '
198 198
                                             . ($item['checked'] ? 'checked=checked ' : '')
199 199
                                             . ($item['disabled'] ? 'disabled=disabled ' : '') . '>';
200
-                        $tableRows[] =    '</td>';
201
-                        $tableRows[] =    '<td class="col-title">';
202
-                        $tableRows[] =        '<label class="label-block nowrap-disabled" for="' . $item['id'] . '">';
203
-                        $tableRows[] =            '<span class="inline-icon">' . $item['icon'] . '</span>';
204
-                        $tableRows[] =            htmlspecialchars($this->appendValueToLabelInDebugMode($item['title'], $item['value']), ENT_COMPAT, 'UTF-8', false);
205
-                        $tableRows[] =        '</label>';
206
-                        $tableRows[] =    '</td>';
207
-                        $tableRows[] =    '<td class="text-right">' . $item['help'] . '</td>';
200
+                        $tableRows[] = '</td>';
201
+                        $tableRows[] = '<td class="col-title">';
202
+                        $tableRows[] = '<label class="label-block nowrap-disabled" for="' . $item['id'] . '">';
203
+                        $tableRows[] = '<span class="inline-icon">' . $item['icon'] . '</span>';
204
+                        $tableRows[] = htmlspecialchars($this->appendValueToLabelInDebugMode($item['title'], $item['value']), ENT_COMPAT, 'UTF-8', false);
205
+                        $tableRows[] = '</label>';
206
+                        $tableRows[] = '</td>';
207
+                        $tableRows[] = '<td class="text-right">' . $item['help'] . '</td>';
208 208
                         $tableRows[] = '</tr>';
209 209
                     }
210 210
 
@@ -226,20 +226,20 @@  discard block
 block discarded – undo
226 226
                     }
227 227
                     $checkboxId = StringUtility::getUniqueId($groupId);
228 228
                     $title = htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.toggleall'));
229
-                    $html[] =    '<div class="table-responsive">';
230
-                    $html[] =        '<table class="table table-transparent table-hover">';
231
-                    $html[] =            '<thead>';
232
-                    $html[] =                '<tr>';
233
-                    $html[] =                    '<th class="col-checkbox">';
234
-                    $html[] =                       '<input type="checkbox" id="' . $checkboxId . '" class="t3js-toggle-checkboxes" data-bs-trigger="hover" data-bs-placement="right" data-title="' . $title . '" data-bs-toggle="tooltip" />';
235
-                    $html[] =                    '</th>';
236
-                    $html[] =                    '<th class="col-title"><label for="' . $checkboxId . '">' . $title . '</label></th>';
237
-                    $html[] =                    '<th class="text-right">' . $resetGroupBtn . '</th>';
238
-                    $html[] =                '</tr>';
239
-                    $html[] =            '</thead>';
240
-                    $html[] =            '<tbody>' . implode(LF, $tableRows) . '</tbody>';
241
-                    $html[] =        '</table>';
242
-                    $html[] =    '</div>';
229
+                    $html[] = '<div class="table-responsive">';
230
+                    $html[] = '<table class="table table-transparent table-hover">';
231
+                    $html[] = '<thead>';
232
+                    $html[] = '<tr>';
233
+                    $html[] = '<th class="col-checkbox">';
234
+                    $html[] = '<input type="checkbox" id="' . $checkboxId . '" class="t3js-toggle-checkboxes" data-bs-trigger="hover" data-bs-placement="right" data-title="' . $title . '" data-bs-toggle="tooltip" />';
235
+                    $html[] = '</th>';
236
+                    $html[] = '<th class="col-title"><label for="' . $checkboxId . '">' . $title . '</label></th>';
237
+                    $html[] = '<th class="text-right">' . $resetGroupBtn . '</th>';
238
+                    $html[] = '</tr>';
239
+                    $html[] = '</thead>';
240
+                    $html[] = '<tbody>' . implode(LF, $tableRows) . '</tbody>';
241
+                    $html[] = '</table>';
242
+                    $html[] = '</div>';
243 243
                     if (is_array($group['header'])) {
244 244
                         $html[] = '</div>';
245 245
                     }
@@ -253,13 +253,13 @@  discard block
 block discarded – undo
253 253
                 $html[] = '</div>';
254 254
             }
255 255
 
256
-            $html[] =       '</div>';
256
+            $html[] = '</div>';
257 257
             if (!$disabled && !empty($fieldWizardHtml)) {
258
-                $html[] =   '<div class="form-wizards-items-bottom">';
259
-                $html[] =       $fieldWizardHtml;
260
-                $html[] =   '</div>';
258
+                $html[] = '<div class="form-wizards-items-bottom">';
259
+                $html[] = $fieldWizardHtml;
260
+                $html[] = '</div>';
261 261
             }
262
-            $html[] =   '</div>';
262
+            $html[] = '</div>';
263 263
             $html[] = '</div>';
264 264
         }
265 265
 
Please login to merge, or discard this patch.