Passed
Push — master ( 60c68e...a4c468 )
by
unknown
42:19 queued 16:52
created
typo3/sysext/info/Classes/Controller/InfoModuleController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@
 block discarded – undo
261 261
         $languageService = $this->getLanguageService();
262 262
         $buttonBar = $this->moduleTemplate->getDocHeaderComponent()->getButtonBar();
263 263
         // View page
264
-        $previewDataAttributes =PreviewUriBuilder::create((int)$this->pageinfo['uid'])
264
+        $previewDataAttributes = PreviewUriBuilder::create((int)$this->pageinfo['uid'])
265 265
             ->withRootLine(BackendUtility::BEgetRootLine($this->pageinfo['uid']))
266 266
             ->buildDispatcherDataAttributes();
267 267
         $viewButton = $buttonBar->makeLinkButton()
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Template/ModuleTemplate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -553,7 +553,7 @@
 block discarded – undo
553 553
             $this->iconFactory->getIcon('actions-system-shortcut-active', Icon::SIZE_SMALL)->render() . '</a>';
554 554
         }
555 555
 
556
-        $confirmationText =  $this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.makeBookmark');
556
+        $confirmationText = $this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.makeBookmark');
557 557
         $onClick = 'top.TYPO3.ShortcutMenu.createShortcut('
558 558
             . GeneralUtility::quoteJSvalue($routeIdentifier)
559 559
             . ', ' . GeneralUtility::quoteJSvalue($arguments)
Please login to merge, or discard this patch.
typo3/sysext/install/Classes/Service/WebServerConfigurationFileService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
181 181
     ): string {
182 182
         return preg_replace_callback(
183 183
             $pattern,
184
-            static function ($matches) use ($newRewriteRule) {
184
+            static function($matches) use ($newRewriteRule) {
185 185
                 return str_replace($matches[2], '', ($matches[1] . $newRewriteRule)) . $matches[3];
186 186
             },
187 187
             $configurationFileContent,
Please login to merge, or discard this patch.
typo3/sysext/install/Classes/ServiceProvider.php 1 patch
Spacing   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -55,42 +55,42 @@
 block discarded – undo
55 55
     public function getFactories(): array
56 56
     {
57 57
         return [
58
-            Http\Application::class => [ static::class, 'getApplication' ],
59
-            Http\NotFoundRequestHandler::class => [ static::class, 'getNotFoundRequestHandler' ],
60
-            Service\ClearCacheService::class => [ static::class, 'getClearCacheService' ],
61
-            Service\CoreUpdateService::class => [ static::class, 'getCoreUpdateService' ],
62
-            Service\CoreVersionService::class => [ static::class, 'getCoreVersionService' ],
63
-            Service\ExtensionConfigurationService::class => [ static::class, 'getExtensionConfigurationService' ],
64
-            Service\LanguagePackService::class => [ static::class, 'getLanguagePackService' ],
65
-            Service\LateBootService::class => [ static::class, 'getLateBootService' ],
66
-            Service\LoadTcaService::class => [ static::class, 'getLoadTcaService' ],
67
-            Service\SilentConfigurationUpgradeService::class => [ static::class, 'getSilentConfigurationUpgradeService' ],
68
-            Service\SilentTemplateFileUpgradeService::class => [ static::class, 'getSilentTemplateFileUpgradeService' ],
69
-            Service\WebServerConfigurationFileService::class => [ static::class, 'getWebServerConfigurationFileService' ],
70
-            Service\Typo3tempFileService::class => [ static::class, 'getTypo3tempFileService' ],
71
-            Service\UpgradeWizardsService::class => [ static::class, 'getUpgradeWizardsService' ],
72
-            Middleware\Installer::class => [ static::class, 'getInstallerMiddleware' ],
73
-            Middleware\Maintenance::class => [ static::class, 'getMaintenanceMiddleware' ],
74
-            Controller\EnvironmentController::class => [ static::class, 'getEnvironmentController' ],
75
-            Controller\IconController::class => [ static::class, 'getIconController' ],
76
-            Controller\InstallerController::class => [ static::class, 'getInstallerController' ],
77
-            Controller\LayoutController::class => [ static::class, 'getLayoutController' ],
78
-            Controller\LoginController::class => [ static::class, 'getLoginController' ],
79
-            Controller\MaintenanceController::class => [ static::class, 'getMaintenanceController' ],
80
-            Controller\SettingsController::class => [ static::class, 'getSettingsController' ],
81
-            Controller\UpgradeController::class => [ static::class, 'getUpgradeController' ],
82
-            Command\LanguagePackCommand::class => [ static::class, 'getLanguagePackCommand' ],
83
-            Command\UpgradeWizardRunCommand::class => [ static::class, 'getUpgradeWizardRunCommand' ],
84
-            Command\UpgradeWizardListCommand::class => [ static::class, 'getUpgradeWizardListCommand' ],
85
-            Database\PermissionsCheck::class => [ static::class, 'getPermissionsCheck' ],
58
+            Http\Application::class => [static::class, 'getApplication'],
59
+            Http\NotFoundRequestHandler::class => [static::class, 'getNotFoundRequestHandler'],
60
+            Service\ClearCacheService::class => [static::class, 'getClearCacheService'],
61
+            Service\CoreUpdateService::class => [static::class, 'getCoreUpdateService'],
62
+            Service\CoreVersionService::class => [static::class, 'getCoreVersionService'],
63
+            Service\ExtensionConfigurationService::class => [static::class, 'getExtensionConfigurationService'],
64
+            Service\LanguagePackService::class => [static::class, 'getLanguagePackService'],
65
+            Service\LateBootService::class => [static::class, 'getLateBootService'],
66
+            Service\LoadTcaService::class => [static::class, 'getLoadTcaService'],
67
+            Service\SilentConfigurationUpgradeService::class => [static::class, 'getSilentConfigurationUpgradeService'],
68
+            Service\SilentTemplateFileUpgradeService::class => [static::class, 'getSilentTemplateFileUpgradeService'],
69
+            Service\WebServerConfigurationFileService::class => [static::class, 'getWebServerConfigurationFileService'],
70
+            Service\Typo3tempFileService::class => [static::class, 'getTypo3tempFileService'],
71
+            Service\UpgradeWizardsService::class => [static::class, 'getUpgradeWizardsService'],
72
+            Middleware\Installer::class => [static::class, 'getInstallerMiddleware'],
73
+            Middleware\Maintenance::class => [static::class, 'getMaintenanceMiddleware'],
74
+            Controller\EnvironmentController::class => [static::class, 'getEnvironmentController'],
75
+            Controller\IconController::class => [static::class, 'getIconController'],
76
+            Controller\InstallerController::class => [static::class, 'getInstallerController'],
77
+            Controller\LayoutController::class => [static::class, 'getLayoutController'],
78
+            Controller\LoginController::class => [static::class, 'getLoginController'],
79
+            Controller\MaintenanceController::class => [static::class, 'getMaintenanceController'],
80
+            Controller\SettingsController::class => [static::class, 'getSettingsController'],
81
+            Controller\UpgradeController::class => [static::class, 'getUpgradeController'],
82
+            Command\LanguagePackCommand::class => [static::class, 'getLanguagePackCommand'],
83
+            Command\UpgradeWizardRunCommand::class => [static::class, 'getUpgradeWizardRunCommand'],
84
+            Command\UpgradeWizardListCommand::class => [static::class, 'getUpgradeWizardListCommand'],
85
+            Database\PermissionsCheck::class => [static::class, 'getPermissionsCheck'],
86 86
         ];
87 87
     }
88 88
 
89 89
     public function getExtensions(): array
90 90
     {
91 91
         return [
92
-            'backend.routes' => [ static::class, 'configureBackendRoutes' ],
93
-            CommandRegistry::class => [ static::class, 'configureCommands' ],
92
+            'backend.routes' => [static::class, 'configureBackendRoutes'],
93
+            CommandRegistry::class => [static::class, 'configureCommands'],
94 94
         ];
95 95
     }
96 96
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FieldWizard/SelectIcons.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -60,18 +60,18 @@
 block discarded – undo
60 60
         $html = [];
61 61
         if (!empty($selectIcons)) {
62 62
             $html[] = '<div class="t3js-forms-select-single-icons icon-list">';
63
-            $html[] =    '<div class="row">';
63
+            $html[] = '<div class="row">';
64 64
             foreach ($selectIcons as $i => $selectIcon) {
65
-                $active = $selectIcon['active'] ?  ' active' : '';
66
-                $html[] =   '<div class="col col-auto item' . $active . '">';
65
+                $active = $selectIcon['active'] ? ' active' : '';
66
+                $html[] = '<div class="col col-auto item' . $active . '">';
67 67
                 if (is_array($selectIcon)) {
68 68
                     $html[] = '<a href="#" title="' . htmlspecialchars($selectIcon['title'], ENT_COMPAT, 'UTF-8', false) . '" data-select-index="' . htmlspecialchars((string)$selectIcon['index']) . '">';
69
-                    $html[] =   $selectIcon['icon'];
69
+                    $html[] = $selectIcon['icon'];
70 70
                     $html[] = '</a>';
71 71
                 }
72
-                $html[] =   '</div>';
72
+                $html[] = '</div>';
73 73
             }
74
-            $html[] =    '</div>';
74
+            $html[] = '</div>';
75 75
             $html[] = '</div>';
76 76
         }
77 77
 
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
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
 
165 165
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
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-icon">';
202
-                        $tableRows[] =        '<label class="label-block" for="' . $item['id'] . '">' . $item['icon'] . '</label>';
203
-                        $tableRows[] =    '</td>';
204
-                        $tableRows[] =    '<td class="col-title">';
205
-                        $tableRows[] =        '<label class="label-block nowrap-disabled" for="' . $item['id'] . '">' . htmlspecialchars($this->appendValueToLabelInDebugMode($item['title'], $item['value']), ENT_COMPAT, 'UTF-8', false) . '</label>';
206
-                        $tableRows[] =    '</td>';
207
-                        $tableRows[] =    '<td class="text-right">' . $item['help'] . '</td>';
200
+                        $tableRows[] = '</td>';
201
+                        $tableRows[] = '<td class="col-icon">';
202
+                        $tableRows[] = '<label class="label-block" for="' . $item['id'] . '">' . $item['icon'] . '</label>';
203
+                        $tableRows[] = '</td>';
204
+                        $tableRows[] = '<td class="col-title">';
205
+                        $tableRows[] = '<label class="label-block nowrap-disabled" for="' . $item['id'] . '">' . htmlspecialchars($this->appendValueToLabelInDebugMode($item['title'], $item['value']), ENT_COMPAT, 'UTF-8', false) . '</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" colspan="2"><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" colspan="2"><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.
typo3/sysext/backend/Classes/Form/Element/InputSlugElement.php 1 patch
Spacing   +48 added lines, -48 removed lines patch added patch discarded remove patch
@@ -112,58 +112,58 @@
 block discarded – undo
112 112
         $thisSlugId = 't3js-form-field-slug-id' . StringUtility::getUniqueId();
113 113
         $mainFieldHtml = [];
114 114
         $mainFieldHtml[] = '<div class="formengine-field-item t3js-formengine-field-item">';
115
-        $mainFieldHtml[] =  $fieldInformationHtml;
116
-        $mainFieldHtml[] =  '<div class="form-control-wrap" style="max-width: ' . $width . 'px" id="' . htmlspecialchars($thisSlugId) . '">';
117
-        $mainFieldHtml[] =      '<div class="form-wizards-wrap">';
118
-        $mainFieldHtml[] =          '<div class="form-wizards-element">';
119
-        $mainFieldHtml[] =              '<div class="input-group">';
120
-        $mainFieldHtml[] =                  ($baseUrl ? '<span class="input-group-addon">' . htmlspecialchars($baseUrl) . '</span>' : '');
115
+        $mainFieldHtml[] = $fieldInformationHtml;
116
+        $mainFieldHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px" id="' . htmlspecialchars($thisSlugId) . '">';
117
+        $mainFieldHtml[] = '<div class="form-wizards-wrap">';
118
+        $mainFieldHtml[] = '<div class="form-wizards-element">';
119
+        $mainFieldHtml[] = '<div class="input-group">';
120
+        $mainFieldHtml[] = ($baseUrl ? '<span class="input-group-addon">' . htmlspecialchars($baseUrl) . '</span>' : '');
121 121
         // We deal with 3 fields here: a readonly field for current / default values, an input
122 122
         // field to manipulate the value, and the final hidden field used to send the value
123
-        $mainFieldHtml[] =                  '<input';
124
-        $mainFieldHtml[] =                      ' class="form-control t3js-form-field-slug-readonly"';
125
-        $mainFieldHtml[] =                      ' data-bs-toggle="tooltip"';
126
-        $mainFieldHtml[] =                      ' data-title="' . htmlspecialchars($itemValue) . '"';
127
-        $mainFieldHtml[] =                      ' value="' . htmlspecialchars($itemValue) . '"';
128
-        $mainFieldHtml[] =                      ' readonly';
129
-        $mainFieldHtml[] =                  ' />';
130
-        $mainFieldHtml[] =                  '<input type="text"';
131
-        $mainFieldHtml[] =                      ' id="' . htmlspecialchars(StringUtility::getUniqueId('formengine-input-')) . '"';
132
-        $mainFieldHtml[] =                      ' class="form-control t3js-form-field-slug-input hidden"';
133
-        $mainFieldHtml[] =                      ' placeholder="' . htmlspecialchars($row['slug'] ?? '/') . '"';
134
-        $mainFieldHtml[] =                      ' data-formengine-validation-rules="' . htmlspecialchars($this->getValidationDataAsJsonString($config)) . '"';
135
-        $mainFieldHtml[] =                      ' data-formengine-input-params="' . htmlspecialchars((string)json_encode(['field' => $parameterArray['itemFormElName'], 'evalList' => implode(',', $evalList)])) . '"';
136
-        $mainFieldHtml[] =                      ' data-formengine-input-name="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
137
-        $mainFieldHtml[] =                  ' />';
138
-        $mainFieldHtml[] =                  '<span class="input-group-btn">';
139
-        $mainFieldHtml[] =                      '<button class="btn btn-default t3js-form-field-slug-toggle" type="button" title="' . htmlspecialchars($toggleButtonTitle) . '">';
140
-        $mainFieldHtml[] =                          $this->iconFactory->getIcon('actions-version-workspaces-preview-link', Icon::SIZE_SMALL)->render();
141
-        $mainFieldHtml[] =                      '</button>';
142
-        $mainFieldHtml[] =                      '<button class="btn btn-default t3js-form-field-slug-recreate" type="button" title="' . htmlspecialchars($recreateButtonTitle) . '">';
143
-        $mainFieldHtml[] =                          $this->iconFactory->getIcon('actions-refresh', Icon::SIZE_SMALL)->render();
144
-        $mainFieldHtml[] =                      '</button>';
145
-        $mainFieldHtml[] =                  '</span>';
146
-        $mainFieldHtml[] =                  '<input type="hidden"';
147
-        $mainFieldHtml[] =                      ' class="t3js-form-field-slug-hidden"';
148
-        $mainFieldHtml[] =                      ' name="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
149
-        $mainFieldHtml[] =                      ' value="' . htmlspecialchars($itemValue) . '"';
150
-        $mainFieldHtml[] =                  ' />';
151
-        $mainFieldHtml[] =              '</div>';
152
-        $mainFieldHtml[] =          '</div>';
123
+        $mainFieldHtml[] = '<input';
124
+        $mainFieldHtml[] = ' class="form-control t3js-form-field-slug-readonly"';
125
+        $mainFieldHtml[] = ' data-bs-toggle="tooltip"';
126
+        $mainFieldHtml[] = ' data-title="' . htmlspecialchars($itemValue) . '"';
127
+        $mainFieldHtml[] = ' value="' . htmlspecialchars($itemValue) . '"';
128
+        $mainFieldHtml[] = ' readonly';
129
+        $mainFieldHtml[] = ' />';
130
+        $mainFieldHtml[] = '<input type="text"';
131
+        $mainFieldHtml[] = ' id="' . htmlspecialchars(StringUtility::getUniqueId('formengine-input-')) . '"';
132
+        $mainFieldHtml[] = ' class="form-control t3js-form-field-slug-input hidden"';
133
+        $mainFieldHtml[] = ' placeholder="' . htmlspecialchars($row['slug'] ?? '/') . '"';
134
+        $mainFieldHtml[] = ' data-formengine-validation-rules="' . htmlspecialchars($this->getValidationDataAsJsonString($config)) . '"';
135
+        $mainFieldHtml[] = ' data-formengine-input-params="' . htmlspecialchars((string)json_encode(['field' => $parameterArray['itemFormElName'], 'evalList' => implode(',', $evalList)])) . '"';
136
+        $mainFieldHtml[] = ' data-formengine-input-name="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
137
+        $mainFieldHtml[] = ' />';
138
+        $mainFieldHtml[] = '<span class="input-group-btn">';
139
+        $mainFieldHtml[] = '<button class="btn btn-default t3js-form-field-slug-toggle" type="button" title="' . htmlspecialchars($toggleButtonTitle) . '">';
140
+        $mainFieldHtml[] = $this->iconFactory->getIcon('actions-version-workspaces-preview-link', Icon::SIZE_SMALL)->render();
141
+        $mainFieldHtml[] = '</button>';
142
+        $mainFieldHtml[] = '<button class="btn btn-default t3js-form-field-slug-recreate" type="button" title="' . htmlspecialchars($recreateButtonTitle) . '">';
143
+        $mainFieldHtml[] = $this->iconFactory->getIcon('actions-refresh', Icon::SIZE_SMALL)->render();
144
+        $mainFieldHtml[] = '</button>';
145
+        $mainFieldHtml[] = '</span>';
146
+        $mainFieldHtml[] = '<input type="hidden"';
147
+        $mainFieldHtml[] = ' class="t3js-form-field-slug-hidden"';
148
+        $mainFieldHtml[] = ' name="' . htmlspecialchars($parameterArray['itemFormElName']) . '"';
149
+        $mainFieldHtml[] = ' value="' . htmlspecialchars($itemValue) . '"';
150
+        $mainFieldHtml[] = ' />';
151
+        $mainFieldHtml[] = '</div>';
152
+        $mainFieldHtml[] = '</div>';
153 153
         if (!empty($fieldControlHtml)) {
154
-            $mainFieldHtml[] =      '<div class="form-wizards-items-aside">';
155
-            $mainFieldHtml[] =          '<div class="btn-group">';
156
-            $mainFieldHtml[] =              $fieldControlHtml;
157
-            $mainFieldHtml[] =          '</div>';
158
-            $mainFieldHtml[] =      '</div>';
154
+            $mainFieldHtml[] = '<div class="form-wizards-items-aside">';
155
+            $mainFieldHtml[] = '<div class="btn-group">';
156
+            $mainFieldHtml[] = $fieldControlHtml;
157
+            $mainFieldHtml[] = '</div>';
158
+            $mainFieldHtml[] = '</div>';
159 159
         }
160
-        $mainFieldHtml[] =          '<div class="form-wizards-items-bottom">';
161
-        $mainFieldHtml[] =              '<span class="t3js-form-proposal-accepted hidden label label-success">' . htmlspecialchars($successMessage) . '<span>/abc/</span></span>';
162
-        $mainFieldHtml[] =              '<span class="t3js-form-proposal-different hidden label label-warning">' . htmlspecialchars($errorMessage) . '<span>/abc/</span></span>';
163
-        $mainFieldHtml[] =              $fieldWizardHtml;
164
-        $mainFieldHtml[] =          '</div>';
165
-        $mainFieldHtml[] =      '</div>';
166
-        $mainFieldHtml[] =  '</div>';
160
+        $mainFieldHtml[] = '<div class="form-wizards-items-bottom">';
161
+        $mainFieldHtml[] = '<span class="t3js-form-proposal-accepted hidden label label-success">' . htmlspecialchars($successMessage) . '<span>/abc/</span></span>';
162
+        $mainFieldHtml[] = '<span class="t3js-form-proposal-different hidden label label-warning">' . htmlspecialchars($errorMessage) . '<span>/abc/</span></span>';
163
+        $mainFieldHtml[] = $fieldWizardHtml;
164
+        $mainFieldHtml[] = '</div>';
165
+        $mainFieldHtml[] = '</div>';
166
+        $mainFieldHtml[] = '</div>';
167 167
         $mainFieldHtml[] = '</div>';
168 168
 
169 169
         $resultArray['html'] = implode(LF, $mainFieldHtml);
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/InputLinkElement.php 1 patch
Spacing   +50 added lines, -50 removed lines patch added patch discarded remove patch
@@ -113,14 +113,14 @@  discard block
 block discarded – undo
113 113
             // Early return for read only fields
114 114
             $html = [];
115 115
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
116
-            $html[] =   $fieldInformationHtml;
117
-            $html[] =   '<div class="form-wizards-wrap">';
118
-            $html[] =       '<div class="form-wizards-element">';
119
-            $html[] =           '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
120
-            $html[] =               '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
121
-            $html[] =           '</div>';
122
-            $html[] =       '</div>';
123
-            $html[] =   '</div>';
116
+            $html[] = $fieldInformationHtml;
117
+            $html[] = '<div class="form-wizards-wrap">';
118
+            $html[] = '<div class="form-wizards-element">';
119
+            $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
120
+            $html[] = '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
121
+            $html[] = '</div>';
122
+            $html[] = '</div>';
123
+            $html[] = '</div>';
124 124
             $html[] = '</div>';
125 125
             $resultArray['html'] = implode(LF, $html);
126 126
             return $resultArray;
@@ -195,8 +195,8 @@  discard block
 block discarded – undo
195 195
                     . '.value=this.options[this.selectedIndex].value';
196 196
             }
197 197
             $valuePickerHtml[] = '<select';
198
-            $valuePickerHtml[] =  ' class="form-control tceforms-select tceforms-wizardselect"';
199
-            $valuePickerHtml[] =  ' onchange="' . htmlspecialchars($assignValue . ';this.blur();this.selectedIndex=0;' . implode('', $fieldChangeFunc)) . '"';
198
+            $valuePickerHtml[] = ' class="form-control tceforms-select tceforms-wizardselect"';
199
+            $valuePickerHtml[] = ' onchange="' . htmlspecialchars($assignValue . ';this.blur();this.selectedIndex=0;' . implode('', $fieldChangeFunc)) . '"';
200 200
             $valuePickerHtml[] = '>';
201 201
             $valuePickerHtml[] = '<option></option>';
202 202
             foreach ($config['valuePicker']['items'] as $item) {
@@ -219,33 +219,33 @@  discard block
 block discarded – undo
219 219
 
220 220
         $expansionHtml = [];
221 221
         $expansionHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
222
-        $expansionHtml[] =  '<div class="form-wizards-wrap">';
223
-        $expansionHtml[] =      '<div class="form-wizards-element">';
224
-        $expansionHtml[] =          '<div class="input-group t3js-form-field-inputlink">';
225
-        $expansionHtml[] =              '<span class="t3js-form-field-inputlink-icon input-group-addon">' . $linkExplanation['icon'] . '</span>';
226
-        $expansionHtml[] =              '<input class="form-control t3js-form-field-inputlink-explanation" data-bs-toggle="tooltip" data-title="' . $explanation . '" value="' . $explanation . '" readonly>';
227
-        $expansionHtml[] =              '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
228
-        $expansionHtml[] =              '<span class="input-group-btn">';
229
-        $expansionHtml[] =                  '<button class="btn btn-default t3js-form-field-inputlink-explanation-toggle" type="button" title="' . htmlspecialchars($toggleButtonTitle) . '">';
230
-        $expansionHtml[] =                      $this->iconFactory->getIcon('actions-version-workspaces-preview-link', Icon::SIZE_SMALL)->render();
231
-        $expansionHtml[] =                  '</button>';
232
-        $expansionHtml[] =              '</span>';
233
-        $expansionHtml[] =              '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
234
-        $expansionHtml[] =          '</div>';
235
-        $expansionHtml[] =      '</div>';
222
+        $expansionHtml[] = '<div class="form-wizards-wrap">';
223
+        $expansionHtml[] = '<div class="form-wizards-element">';
224
+        $expansionHtml[] = '<div class="input-group t3js-form-field-inputlink">';
225
+        $expansionHtml[] = '<span class="t3js-form-field-inputlink-icon input-group-addon">' . $linkExplanation['icon'] . '</span>';
226
+        $expansionHtml[] = '<input class="form-control t3js-form-field-inputlink-explanation" data-bs-toggle="tooltip" data-title="' . $explanation . '" value="' . $explanation . '" readonly>';
227
+        $expansionHtml[] = '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
228
+        $expansionHtml[] = '<span class="input-group-btn">';
229
+        $expansionHtml[] = '<button class="btn btn-default t3js-form-field-inputlink-explanation-toggle" type="button" title="' . htmlspecialchars($toggleButtonTitle) . '">';
230
+        $expansionHtml[] = $this->iconFactory->getIcon('actions-version-workspaces-preview-link', Icon::SIZE_SMALL)->render();
231
+        $expansionHtml[] = '</button>';
232
+        $expansionHtml[] = '</span>';
233
+        $expansionHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
234
+        $expansionHtml[] = '</div>';
235
+        $expansionHtml[] = '</div>';
236 236
         if (!empty($valuePickerHtml) || !empty($fieldControlHtml)) {
237
-            $expansionHtml[] =      '<div class="form-wizards-items-aside">';
238
-            $expansionHtml[] =          '<div class="btn-group">';
239
-            $expansionHtml[] =              implode(LF, $valuePickerHtml);
240
-            $expansionHtml[] =              $fieldControlHtml;
241
-            $expansionHtml[] =          '</div>';
242
-            $expansionHtml[] =      '</div>';
237
+            $expansionHtml[] = '<div class="form-wizards-items-aside">';
238
+            $expansionHtml[] = '<div class="btn-group">';
239
+            $expansionHtml[] = implode(LF, $valuePickerHtml);
240
+            $expansionHtml[] = $fieldControlHtml;
241
+            $expansionHtml[] = '</div>';
242
+            $expansionHtml[] = '</div>';
243 243
         }
244
-        $expansionHtml[] =      '<div class="form-wizards-items-bottom">';
245
-        $expansionHtml[] =          $linkExplanation['additionalAttributes'];
246
-        $expansionHtml[] =          $fieldWizardHtml;
247
-        $expansionHtml[] =      '</div>';
248
-        $expansionHtml[] =  '</div>';
244
+        $expansionHtml[] = '<div class="form-wizards-items-bottom">';
245
+        $expansionHtml[] = $linkExplanation['additionalAttributes'];
246
+        $expansionHtml[] = $fieldWizardHtml;
247
+        $expansionHtml[] = '</div>';
248
+        $expansionHtml[] = '</div>';
249 249
         $expansionHtml[] = '</div>';
250 250
         $expansionHtml = implode(LF, $expansionHtml);
251 251
 
@@ -255,11 +255,11 @@  discard block
 block discarded – undo
255 255
             $fullElement = [];
256 256
             $fullElement[] = '<div class="t3-form-field-disable"></div>';
257 257
             $fullElement[] = '<div class="checkbox t3-form-field-eval-null-checkbox">';
258
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
259
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
260
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
261
-            $fullElement[] =         $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
262
-            $fullElement[] =     '</label>';
258
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
259
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
260
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
261
+            $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
262
+            $fullElement[] = '</label>';
263 263
             $fullElement[] = '</div>';
264 264
             $fullElement[] = $expansionHtml;
265 265
             $fullElement = implode(LF, $fullElement);
@@ -288,19 +288,19 @@  discard block
 block discarded – undo
288 288
             }
289 289
             $fullElement = [];
290 290
             $fullElement[] = '<div class="checkbox t3js-form-field-eval-null-placeholder-checkbox">';
291
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
292
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
293
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
294
-            $fullElement[] =         $overrideLabel;
295
-            $fullElement[] =     '</label>';
291
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
292
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
293
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
294
+            $fullElement[] = $overrideLabel;
295
+            $fullElement[] = '</label>';
296 296
             $fullElement[] = '</div>';
297 297
             $fullElement[] = '<div class="t3js-formengine-placeholder-placeholder">';
298
-            $fullElement[] =    '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
299
-            $fullElement[] =        '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
300
-            $fullElement[] =    '</div>';
298
+            $fullElement[] = '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
299
+            $fullElement[] = '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
300
+            $fullElement[] = '</div>';
301 301
             $fullElement[] = '</div>';
302 302
             $fullElement[] = '<div class="t3js-formengine-placeholder-formfield">';
303
-            $fullElement[] =    $expansionHtml;
303
+            $fullElement[] = $expansionHtml;
304 304
             $fullElement[] = '</div>';
305 305
             $fullElement = implode(LF, $fullElement);
306 306
         }
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
 
331 331
         try {
332 332
             $linkData = $linkService->resolve($linkParts['url']);
333
-        } catch (FileDoesNotExistException|FolderDoesNotExistException|UnknownLinkHandlerException|InvalidPathException $e) {
333
+        } catch (FileDoesNotExistException | FolderDoesNotExistException | UnknownLinkHandlerException | InvalidPathException $e) {
334 334
             return $data;
335 335
         }
336 336
 
Please login to merge, or discard this patch.