Test Failed
Branch master (137376)
by Tymoteusz
20:39
created
typo3/sysext/backend/Classes/Form/FieldWizard/TableList.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Backend\Form\FieldWizard;
4 4
 
5 5
 /*
@@ -55,26 +55,26 @@  discard block
 block discarded – undo
55 55
             if ($allowed === '*') {
56 56
                 $label = $languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.allTables');
57 57
                 $allowedTablesHtml[] = '<span>';
58
-                $allowedTablesHtml[] =  htmlspecialchars($label);
58
+                $allowedTablesHtml[] = htmlspecialchars($label);
59 59
                 $allowedTablesHtml[] = '</span>';
60 60
             } else {
61 61
                 $label = $languageService->sL($GLOBALS['TCA'][$tableName]['ctrl']['title']);
62 62
                 $onClick = [];
63 63
                 $onClick[] = 'setFormValueOpenBrowser(';
64
-                $onClick[] =    '\'db\',';
65
-                $onClick[] =    GeneralUtility::quoteJSvalue($itemName . '|||' . $tableName);
64
+                $onClick[] = '\'db\',';
65
+                $onClick[] = GeneralUtility::quoteJSvalue($itemName . '|||' . $tableName);
66 66
                 $onClick[] = ');';
67 67
                 $onClick[] = 'return false;';
68 68
                 $allowedTablesHtml[] = '<a href="#" onClick="' . htmlspecialchars(implode('', $onClick)) . '" class="btn btn-default">';
69
-                $allowedTablesHtml[] =  $iconFactory->getIconForRecord($tableName, [], Icon::SIZE_SMALL)->render();
70
-                $allowedTablesHtml[] =  htmlspecialchars($label);
69
+                $allowedTablesHtml[] = $iconFactory->getIconForRecord($tableName, [], Icon::SIZE_SMALL)->render();
70
+                $allowedTablesHtml[] = htmlspecialchars($label);
71 71
                 $allowedTablesHtml[] = '</a>';
72 72
             }
73 73
         }
74 74
 
75
-        $html= [];
75
+        $html = [];
76 76
         $html[] = '<div class="help-block">';
77
-        $html[] =   implode(LF, $allowedTablesHtml);
77
+        $html[] = implode(LF, $allowedTablesHtml);
78 78
         $html[] = '</div>';
79 79
 
80 80
         $result['html'] = implode(LF, $html);
Please login to merge, or discard this patch.
sysext/backend/Classes/Form/FieldWizard/DefaultLanguageDifferences.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Backend\Form\FieldWizard;
4 4
 
5 5
 /*
@@ -68,17 +68,17 @@  discard block
 block discarded – undo
68 68
                 BackendUtility::getProcessedValue($table, $fieldName, $defaultLanguageRow[$fieldName], 0, 1)
69 69
             );
70 70
             $html[] = '<div class="t3-form-original-language-diff">';
71
-            $html[] =   '<div class="t3-form-original-language-diffheader">';
72
-            $html[] =       htmlspecialchars($languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.changeInOrig'));
73
-            $html[] =   '</div>';
74
-            $html[] =   '<div class="t3-form-original-language-diffcontent">';
75
-            $html[] =       '<div class="diff">';
76
-            $html[] =           '<div class="diff-item">';
77
-            $html[] =               '<div class="diff-item-result diff-item-result-inline">' . $diffResult . '</div>';
78
-            $html[] =           '</div>';
79
-            $html[] =       '</div>';
80
-            $html[] =   '</div>';
81
-            $html[] =  '</div>';
71
+            $html[] = '<div class="t3-form-original-language-diffheader">';
72
+            $html[] = htmlspecialchars($languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.changeInOrig'));
73
+            $html[] = '</div>';
74
+            $html[] = '<div class="t3-form-original-language-diffcontent">';
75
+            $html[] = '<div class="diff">';
76
+            $html[] = '<div class="diff-item">';
77
+            $html[] = '<div class="diff-item-result diff-item-result-inline">' . $diffResult . '</div>';
78
+            $html[] = '</div>';
79
+            $html[] = '</div>';
80
+            $html[] = '</div>';
81
+            $html[] = '</div>';
82 82
         }
83 83
         $result['html'] = implode(LF, $html);
84 84
         return $result;
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/CheckboxElement.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
             $counter = 0;
114 114
             foreach ($items as $itemKey => $itemDefinition) {
115 115
                 $label = $itemDefinition[0];
116
-                $elementHtml .=  $this->renderSingleCheckboxElement($label, $counter, $formElementValue, $numberOfItems, $this->data['parameterArray'], $disabled);
116
+                $elementHtml .= $this->renderSingleCheckboxElement($label, $counter, $formElementValue, $numberOfItems, $this->data['parameterArray'], $disabled);
117 117
                 $counter = $counter + 1;
118 118
             }
119 119
         }
@@ -134,16 +134,16 @@  discard block
 block discarded – undo
134 134
         if (!$disabled) {
135 135
             $html[] = $fieldInformationHtml;
136 136
         }
137
-        $html[] =   '<div class="form-wizards-wrap">';
138
-        $html[] =       '<div class="form-wizards-element">';
139
-        $html[] =           $elementHtml;
140
-        $html[] =       '</div>';
137
+        $html[] = '<div class="form-wizards-wrap">';
138
+        $html[] = '<div class="form-wizards-element">';
139
+        $html[] = $elementHtml;
140
+        $html[] = '</div>';
141 141
         if (!$disabled) {
142
-            $html[] =   '<div class="form-wizards-items-bottom">';
143
-            $html[] =       $fieldWizardHtml;
144
-            $html[] =   '</div>';
142
+            $html[] = '<div class="form-wizards-items-bottom">';
143
+            $html[] = $fieldWizardHtml;
144
+            $html[] = '</div>';
145 145
         }
146
-        $html[] =   '</div>';
146
+        $html[] = '</div>';
147 147
         $html[] = '</div>';
148 148
 
149 149
         $resultArray['html'] = implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/SelectCheckBoxElement.php 1 patch
Spacing   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -145,8 +145,8 @@  discard block
 block discarded – undo
145 145
             if (!$disabled) {
146 146
                 $html[] = $fieldInformationHtml;
147 147
             }
148
-            $html[] =   '<div class="form-wizards-wrap">';
149
-            $html[] =       '<div class="form-wizards-element">';
148
+            $html[] = '<div class="form-wizards-wrap">';
149
+            $html[] = '<div class="form-wizards-element">';
150 150
 
151 151
             // Add an empty hidden field which will send a blank value if all items are unselected.
152 152
             $html[] = '<input type="hidden" class="select-checkbox" name="' . htmlspecialchars($parameterArray['itemFormElName']) . '" value="">';
@@ -170,22 +170,22 @@  discard block
 block discarded – undo
170 170
                     // Render rows
171 171
                     foreach ($group['items'] as $item) {
172 172
                         $tableRows[] = '<tr class="' . $item['class'] . '">';
173
-                        $tableRows[] =    '<td class="col-checkbox">';
174
-                        $tableRows[] =        '<input type="checkbox" class="t3js-checkbox" '
173
+                        $tableRows[] = '<td class="col-checkbox">';
174
+                        $tableRows[] = '<input type="checkbox" class="t3js-checkbox" '
175 175
                                             . 'id="' . $item['id'] . '" '
176 176
                                             . 'name="' . htmlspecialchars($item['name']) . '" '
177 177
                                             . 'value="' . htmlspecialchars($item['value']) . '" '
178 178
                                             . 'onclick="' . htmlspecialchars($sOnChange) . '" '
179 179
                                             . ($item['checked'] ? 'checked=checked ' : '')
180 180
                                             . ($item['disabled'] ? 'disabled=disabled ' : '') . '>';
181
-                        $tableRows[] =    '</td>';
182
-                        $tableRows[] =    '<td class="col-icon">';
183
-                        $tableRows[] =        '<label class="label-block" for="' . $item['id'] . '">' . $item['icon'] . '</label>';
184
-                        $tableRows[] =    '</td>';
185
-                        $tableRows[] =    '<td class="col-title">';
186
-                        $tableRows[] =        '<label class="label-block" for="' . $item['id'] . '">' . htmlspecialchars($item['title'], ENT_COMPAT, 'UTF-8', false) . '</label>';
187
-                        $tableRows[] =    '</td>';
188
-                        $tableRows[] =    '<td class="text-right">' . $item['help'] . '</td>';
181
+                        $tableRows[] = '</td>';
182
+                        $tableRows[] = '<td class="col-icon">';
183
+                        $tableRows[] = '<label class="label-block" for="' . $item['id'] . '">' . $item['icon'] . '</label>';
184
+                        $tableRows[] = '</td>';
185
+                        $tableRows[] = '<td class="col-title">';
186
+                        $tableRows[] = '<label class="label-block" for="' . $item['id'] . '">' . htmlspecialchars($item['title'], ENT_COMPAT, 'UTF-8', false) . '</label>';
187
+                        $tableRows[] = '</td>';
188
+                        $tableRows[] = '<td class="text-right">' . $item['help'] . '</td>';
189 189
                         $tableRows[] = '</tr>';
190 190
                         $resetGroup[] = 'document.editform[' . GeneralUtility::quoteJSvalue($item['name']) . '].checked=' . $item['checked'] . ';';
191 191
                     }
@@ -208,20 +208,20 @@  discard block
 block discarded – undo
208 208
                     }
209 209
                     $checkboxId = uniqid($groupId);
210 210
                     $title = htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.toggleall'));
211
-                    $html[] =    '<div class="table-responsive">';
212
-                    $html[] =        '<table class="table table-transparent table-hover">';
213
-                    $html[] =            '<thead>';
214
-                    $html[] =                '<tr>';
215
-                    $html[] =                    '<th class="col-checkbox">';
216
-                    $html[] =                       '<input type="checkbox" id="' . $checkboxId . '" class="t3js-toggle-checkboxes" data-trigger="hover" data-placement="right" data-title="' . $title . '" data-toggle="tooltip" />';
217
-                    $html[] =                    '</th>';
218
-                    $html[] =                    '<th class="col-title" colspan="2"><label for="' . $checkboxId . '">' . $title . '</label></th>';
219
-                    $html[] =                    '<th class="text-right">' . $resetGroupBtn . '</th>';
220
-                    $html[] =                '</tr>';
221
-                    $html[] =            '</thead>';
222
-                    $html[] =            '<tbody>' . implode(LF, $tableRows) . '</tbody>';
223
-                    $html[] =        '</table>';
224
-                    $html[] =    '</div>';
211
+                    $html[] = '<div class="table-responsive">';
212
+                    $html[] = '<table class="table table-transparent table-hover">';
213
+                    $html[] = '<thead>';
214
+                    $html[] = '<tr>';
215
+                    $html[] = '<th class="col-checkbox">';
216
+                    $html[] = '<input type="checkbox" id="' . $checkboxId . '" class="t3js-toggle-checkboxes" data-trigger="hover" data-placement="right" data-title="' . $title . '" data-toggle="tooltip" />';
217
+                    $html[] = '</th>';
218
+                    $html[] = '<th class="col-title" colspan="2"><label for="' . $checkboxId . '">' . $title . '</label></th>';
219
+                    $html[] = '<th class="text-right">' . $resetGroupBtn . '</th>';
220
+                    $html[] = '</tr>';
221
+                    $html[] = '</thead>';
222
+                    $html[] = '<tbody>' . implode(LF, $tableRows) . '</tbody>';
223
+                    $html[] = '</table>';
224
+                    $html[] = '</div>';
225 225
                     if (is_array($group['header'])) {
226 226
                         $html[] = '</div>';
227 227
                     }
@@ -229,13 +229,13 @@  discard block
 block discarded – undo
229 229
                 $html[] = '</div>';
230 230
             }
231 231
 
232
-            $html[] =       '</div>';
232
+            $html[] = '</div>';
233 233
             if (!$disabled) {
234
-                $html[] =   '<div class="form-wizards-items-bottom">';
235
-                $html[] =       $fieldWizardHtml;
236
-                $html[] =   '</div>';
234
+                $html[] = '<div class="form-wizards-items-bottom">';
235
+                $html[] = $fieldWizardHtml;
236
+                $html[] = '</div>';
237 237
             }
238
-            $html[] =   '</div>';
238
+            $html[] = '</div>';
239 239
             $html[] = '</div>';
240 240
         }
241 241
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/SelectTreeElement.php 1 patch
Spacing   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -114,35 +114,35 @@
 block discarded – undo
114 114
         if (!$readOnly) {
115 115
             $html[] = $fieldInformationHtml;
116 116
         }
117
-        $html[] =   '<div class="form-control-wrap">';
118
-        $html[] =       '<div class="typo3-tceforms-tree">';
119
-        $html[] =           '<input class="treeRecord" type="hidden"';
120
-        $html[] =               ' data-formengine-validation-rules="' . htmlspecialchars($this->getValidationDataAsJsonString($config)) . '"';
121
-        $html[] =               ' data-relatedfieldname="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
122
-        $html[] =               ' data-tablename="' . htmlspecialchars($this->data['tableName']) . '"';
123
-        $html[] =               ' data-fieldname="' . htmlspecialchars($this->data['fieldName']) . '"';
124
-        $html[] =               ' data-uid="' . (int)$this->data['vanillaUid'] . '"';
125
-        $html[] =               ' data-recordtypevalue="' . htmlspecialchars($this->data['recordTypeValue']) . '"';
126
-        $html[] =               ' data-datastructureidentifier="' . htmlspecialchars($dataStructureIdentifier) . '"';
127
-        $html[] =               ' data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"';
128
-        $html[] =               ' data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"';
129
-        $html[] =               ' data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"';
130
-        $html[] =               ' data-flexformcontaineridentifier="' . htmlspecialchars($flexFormContainerIdentifier) . '"';
131
-        $html[] =               ' data-flexformcontainerfieldname="' . htmlspecialchars($flexFormContainerFieldName) . '"';
132
-        $html[] =               ' data-flexformsectioncontainerisnew="' . htmlspecialchars($flexFormSectionContainerIsNew) . '"';
133
-        $html[] =               ' data-command="' . htmlspecialchars($this->data['command']) . '"';
134
-        $html[] =               ' data-read-only="' . $readOnly . '"';
135
-        $html[] =               ' data-tree-exclusive-keys="' . htmlspecialchars($exclusiveKeys) . '"';
136
-        $html[] =               ' data-tree-expand-up-to-level="' . ($expanded ? '999' : '1') . '"';
137
-        $html[] =               ' data-tree-show-toolbar="' . $showHeader . '"';
138
-        $html[] =               ' name="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
139
-        $html[] =               ' id="treeinput' . $formElementId . '"';
140
-        $html[] =               ' value=""';
141
-        $html[] =           '/>';
142
-        $html[] =       '</div>';
143
-        $html[] =       '<div id="' . $treeWrapperId . '" class="svg-tree-wrapper" style="height: ' . $heightInPx . 'px;"></div>';
144
-        $html[] =       '<script type="text/javascript">var ' . $treeWrapperId . ' = ' . $this->getTreeOnChangeJs() . '</script>';
145
-        $html[] =   '</div>';
117
+        $html[] = '<div class="form-control-wrap">';
118
+        $html[] = '<div class="typo3-tceforms-tree">';
119
+        $html[] = '<input class="treeRecord" type="hidden"';
120
+        $html[] = ' data-formengine-validation-rules="' . htmlspecialchars($this->getValidationDataAsJsonString($config)) . '"';
121
+        $html[] = ' data-relatedfieldname="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
122
+        $html[] = ' data-tablename="' . htmlspecialchars($this->data['tableName']) . '"';
123
+        $html[] = ' data-fieldname="' . htmlspecialchars($this->data['fieldName']) . '"';
124
+        $html[] = ' data-uid="' . (int)$this->data['vanillaUid'] . '"';
125
+        $html[] = ' data-recordtypevalue="' . htmlspecialchars($this->data['recordTypeValue']) . '"';
126
+        $html[] = ' data-datastructureidentifier="' . htmlspecialchars($dataStructureIdentifier) . '"';
127
+        $html[] = ' data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"';
128
+        $html[] = ' data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"';
129
+        $html[] = ' data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"';
130
+        $html[] = ' data-flexformcontaineridentifier="' . htmlspecialchars($flexFormContainerIdentifier) . '"';
131
+        $html[] = ' data-flexformcontainerfieldname="' . htmlspecialchars($flexFormContainerFieldName) . '"';
132
+        $html[] = ' data-flexformsectioncontainerisnew="' . htmlspecialchars($flexFormSectionContainerIsNew) . '"';
133
+        $html[] = ' data-command="' . htmlspecialchars($this->data['command']) . '"';
134
+        $html[] = ' data-read-only="' . $readOnly . '"';
135
+        $html[] = ' data-tree-exclusive-keys="' . htmlspecialchars($exclusiveKeys) . '"';
136
+        $html[] = ' data-tree-expand-up-to-level="' . ($expanded ? '999' : '1') . '"';
137
+        $html[] = ' data-tree-show-toolbar="' . $showHeader . '"';
138
+        $html[] = ' name="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
139
+        $html[] = ' id="treeinput' . $formElementId . '"';
140
+        $html[] = ' value=""';
141
+        $html[] = '/>';
142
+        $html[] = '</div>';
143
+        $html[] = '<div id="' . $treeWrapperId . '" class="svg-tree-wrapper" style="height: ' . $heightInPx . 'px;"></div>';
144
+        $html[] = '<script type="text/javascript">var ' . $treeWrapperId . ' = ' . $this->getTreeOnChangeJs() . '</script>';
145
+        $html[] = '</div>';
146 146
         $html[] = '</div>';
147 147
 
148 148
         $resultArray['html'] = implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/SelectSingleBoxElement.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -113,29 +113,29 @@  discard block
 block discarded – undo
113 113
         if (!$disabled) {
114 114
             $html[] = $fieldInformationHtml;
115 115
         }
116
-        $html[] =   '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
117
-        $html[] =       '<div class="form-wizards-wrap form-wizards-aside">';
118
-        $html[] =           '<div class="form-wizards-element">';
116
+        $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
117
+        $html[] = '<div class="form-wizards-wrap form-wizards-aside">';
118
+        $html[] = '<div class="form-wizards-element">';
119 119
         if (!$disabled) {
120 120
             // Add an empty hidden field which will send a blank value if all items are unselected.
121
-            $html[] =           '<input type="hidden" name="' . htmlspecialchars($parameterArray['itemFormElName']) . '" value="">';
121
+            $html[] = '<input type="hidden" name="' . htmlspecialchars($parameterArray['itemFormElName']) . '" value="">';
122 122
         }
123
-        $html[] =               $selectElement;
124
-        $html[] =           '</div>';
123
+        $html[] = $selectElement;
124
+        $html[] = '</div>';
125 125
         if (!$disabled) {
126
-            $html[] =       '<div class="form-wizards-items-aside">';
127
-            $html[] =           $fieldControlHtml;
128
-            $html[] =       '</div>';
129
-            $html[] =   '</div>';
130
-
131
-            $html[] =   '<p>';
132
-            $html[] =       '<em>' . htmlspecialchars($languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.holdDownCTRL')) . '</em>';
133
-            $html[] =   '</p>';
134
-            $html[] =   '<div class="form-wizards-items-bottom">';
135
-            $html[] =       $fieldWizardHtml;
136
-            $html[] =   '</div>';
126
+            $html[] = '<div class="form-wizards-items-aside">';
127
+            $html[] = $fieldControlHtml;
128
+            $html[] = '</div>';
129
+            $html[] = '</div>';
130
+
131
+            $html[] = '<p>';
132
+            $html[] = '<em>' . htmlspecialchars($languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.holdDownCTRL')) . '</em>';
133
+            $html[] = '</p>';
134
+            $html[] = '<div class="form-wizards-items-bottom">';
135
+            $html[] = $fieldWizardHtml;
136
+            $html[] = '</div>';
137 137
         }
138
-        $html[] =   '</div>';
138
+        $html[] = '</div>';
139 139
         $html[] = '</div>';
140 140
 
141 141
         $resultArray['html'] = implode(LF, $html);
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
 
185 185
         $html = [];
186 186
         $html[] = '<select ' . GeneralUtility::implodeAttributes($attributes, true) . '>';
187
-        $html[] =   implode(LF, $optionElements);
187
+        $html[] = implode(LF, $optionElements);
188 188
         $html[] = '</select>';
189 189
 
190 190
         return implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/RadioElement.php 1 patch
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 
53 53
         $html = [];
54 54
         foreach ($this->data['parameterArray']['fieldConf']['config']['items'] as $itemNumber => $itemLabelAndValue) {
55
-            $label =  $itemLabelAndValue[0];
55
+            $label = $itemLabelAndValue[0];
56 56
             $value = $itemLabelAndValue[1];
57 57
             $radioId = htmlspecialchars($this->data['parameterArray']['itemFormElID'] . '_' . $itemNumber);
58 58
             $radioChecked = (string)$value === (string)$this->data['parameterArray']['itemFormElValue'] ? ' checked="checked"' : '';
@@ -69,28 +69,28 @@  discard block
 block discarded – undo
69 69
             if (!$disabled) {
70 70
                 $html[] = $fieldInformationHtml;
71 71
             }
72
-            $html[] =   '<div class="form-wizards-wrap">';
73
-            $html[] =       '<div class="form-wizards-element">';
74
-            $html[] =           '<div class="radio' . $disabled . '">';
75
-            $html[] =               '<label for="' . $radioId . '">';
76
-            $html[] =                   '<input type="radio"';
77
-            $html[] =                       ' name="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"';
78
-            $html[] =                       ' id="' . $radioId . '"';
79
-            $html[] =                       ' value="' . htmlspecialchars($value) . '"';
80
-            $html[] =                       $radioChecked;
81
-            $html[] =                       $disabled;
82
-            $html[] =                       ' onclick="' . htmlspecialchars(implode('', $this->data['parameterArray']['fieldChangeFunc'])) . '"';
83
-            $html[] =                   '/>';
84
-            $html[] =                       htmlspecialchars($label);
85
-            $html[] =               '</label>';
86
-            $html[] =           '</div>';
87
-            $html[] =       '</div>';
72
+            $html[] = '<div class="form-wizards-wrap">';
73
+            $html[] = '<div class="form-wizards-element">';
74
+            $html[] = '<div class="radio' . $disabled . '">';
75
+            $html[] = '<label for="' . $radioId . '">';
76
+            $html[] = '<input type="radio"';
77
+            $html[] = ' name="' . htmlspecialchars($this->data['parameterArray']['itemFormElName']) . '"';
78
+            $html[] = ' id="' . $radioId . '"';
79
+            $html[] = ' value="' . htmlspecialchars($value) . '"';
80
+            $html[] = $radioChecked;
81
+            $html[] = $disabled;
82
+            $html[] = ' onclick="' . htmlspecialchars(implode('', $this->data['parameterArray']['fieldChangeFunc'])) . '"';
83
+            $html[] = '/>';
84
+            $html[] = htmlspecialchars($label);
85
+            $html[] = '</label>';
86
+            $html[] = '</div>';
87
+            $html[] = '</div>';
88 88
             if (!$disabled) {
89
-                $html[] =   '<div class="form-wizards-items-bottom">';
90
-                $html[] =       $fieldWizardHtml;
91
-                $html[] =   '</div>';
89
+                $html[] = '<div class="form-wizards-items-bottom">';
90
+                $html[] = $fieldWizardHtml;
91
+                $html[] = '</div>';
92 92
             }
93
-            $html[] =   '</div>';
93
+            $html[] = '</div>';
94 94
             $html[] = '</div>';
95 95
         }
96 96
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FieldControl/LinkPopup.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Backend\Form\FieldControl;
4 4
 
5 5
 /*
@@ -68,15 +68,15 @@  discard block
 block discarded – undo
68 68
         $onClick = [];
69 69
         $onClick[] = 'this.blur();';
70 70
         $onClick[] = 'vHWin=window.open(';
71
-        $onClick[] =    GeneralUtility::quoteJSvalue($url);
72
-        $onClick[] =    '+\'&P[currentValue]=\'+TBE_EDITOR.rawurlencode(';
73
-        $onClick[] =        'document.editform[' . GeneralUtility::quoteJSvalue($itemName) . '].value,300';
74
-        $onClick[] =    ')';
75
-        $onClick[] =    '+\'&P[currentSelectedValues]=\'+TBE_EDITOR.curSelected(';
76
-        $onClick[] =        GeneralUtility::quoteJSvalue($itemName);
77
-        $onClick[] =    '),';
78
-        $onClick[] =    '\'\',';
79
-        $onClick[] =    GeneralUtility::quoteJSvalue($windowOpenParameters);
71
+        $onClick[] = GeneralUtility::quoteJSvalue($url);
72
+        $onClick[] = '+\'&P[currentValue]=\'+TBE_EDITOR.rawurlencode(';
73
+        $onClick[] = 'document.editform[' . GeneralUtility::quoteJSvalue($itemName) . '].value,300';
74
+        $onClick[] = ')';
75
+        $onClick[] = '+\'&P[currentSelectedValues]=\'+TBE_EDITOR.curSelected(';
76
+        $onClick[] = GeneralUtility::quoteJSvalue($itemName);
77
+        $onClick[] = '),';
78
+        $onClick[] = '\'\',';
79
+        $onClick[] = GeneralUtility::quoteJSvalue($windowOpenParameters);
80 80
         $onClick[] = ');';
81 81
         $onClick[] = 'vHWin.focus();';
82 82
         $onClick[] = 'return false;';
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FieldControl/ListModule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Backend\Form\FieldControl;
4 4
 
5 5
 /*
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
             $pid = 0;
72 72
         }
73 73
 
74
-        $urlParameters  = [
74
+        $urlParameters = [
75 75
             'P' => [
76 76
                 'params' => [
77 77
                     'table' => $table,
Please login to merge, or discard this patch.