Completed
Push — master ( cd2c97...219d30 )
by Oliver
17:54 queued 01:26
created
install/Classes/SystemEnvironment/ServerResponse/ServerResponseCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -296,7 +296,7 @@
 block discarded – undo
296 296
     protected function wrapItems(array $items, string $before, string $after): array
297 297
     {
298 298
         return array_map(
299
-            function (string $item) use ($before, $after): string {
299
+            function(string $item) use ($before, $after): string {
300 300
                 return $before . $item . $after;
301 301
             },
302 302
             array_filter($items)
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/InputDateTimeElement.php 1 patch
Spacing   +40 added lines, -40 removed lines patch added patch discarded remove patch
@@ -117,14 +117,14 @@  discard block
 block discarded – undo
117 117
             $itemValue = $this->formatValue($format, $itemValue);
118 118
             $html = [];
119 119
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
120
-            $html[] =   $fieldInformationHtml;
121
-            $html[] =   '<div class="form-wizards-wrap">';
122
-            $html[] =       '<div class="form-wizards-element">';
123
-            $html[] =           '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
124
-            $html[] =               '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
125
-            $html[] =           '</div>';
126
-            $html[] =       '</div>';
127
-            $html[] =   '</div>';
120
+            $html[] = $fieldInformationHtml;
121
+            $html[] = '<div class="form-wizards-wrap">';
122
+            $html[] = '<div class="form-wizards-element">';
123
+            $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
124
+            $html[] = '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
125
+            $html[] = '</div>';
126
+            $html[] = '</div>';
127
+            $html[] = '</div>';
128 128
             $html[] = '</div>';
129 129
             $resultArray['html'] = implode(LF, $html);
130 130
             return $resultArray;
@@ -193,31 +193,31 @@  discard block
 block discarded – undo
193 193
 
194 194
         $expansionHtml = [];
195 195
         $expansionHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
196
-        $expansionHtml[] =  '<div class="form-wizards-wrap">';
197
-        $expansionHtml[] =      '<div class="form-wizards-element">';
198
-        $expansionHtml[] =          '<div class="input-group">';
199
-        $expansionHtml[] =              '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
200
-        $expansionHtml[] =              '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
201
-        $expansionHtml[] =              '<span class="input-group-btn">';
202
-        $expansionHtml[] =                  '<label class="btn btn-default" for="' . $attributes['id'] . '">';
203
-        $expansionHtml[] =                      $this->iconFactory->getIcon('actions-edit-pick-date', Icon::SIZE_SMALL)->render();
204
-        $expansionHtml[] =                  '</label>';
205
-        $expansionHtml[] =              '</span>';
206
-        $expansionHtml[] =          '</div>';
207
-        $expansionHtml[] =      '</div>';
196
+        $expansionHtml[] = '<div class="form-wizards-wrap">';
197
+        $expansionHtml[] = '<div class="form-wizards-element">';
198
+        $expansionHtml[] = '<div class="input-group">';
199
+        $expansionHtml[] = '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
200
+        $expansionHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
201
+        $expansionHtml[] = '<span class="input-group-btn">';
202
+        $expansionHtml[] = '<label class="btn btn-default" for="' . $attributes['id'] . '">';
203
+        $expansionHtml[] = $this->iconFactory->getIcon('actions-edit-pick-date', Icon::SIZE_SMALL)->render();
204
+        $expansionHtml[] = '</label>';
205
+        $expansionHtml[] = '</span>';
206
+        $expansionHtml[] = '</div>';
207
+        $expansionHtml[] = '</div>';
208 208
         if (!empty($fieldControlHtml)) {
209
-            $expansionHtml[] =      '<div class="form-wizards-items-aside">';
210
-            $expansionHtml[] =          '<div class="btn-group">';
211
-            $expansionHtml[] =              $fieldControlHtml;
212
-            $expansionHtml[] =          '</div>';
213
-            $expansionHtml[] =      '</div>';
209
+            $expansionHtml[] = '<div class="form-wizards-items-aside">';
210
+            $expansionHtml[] = '<div class="btn-group">';
211
+            $expansionHtml[] = $fieldControlHtml;
212
+            $expansionHtml[] = '</div>';
213
+            $expansionHtml[] = '</div>';
214 214
         }
215 215
         if (!empty($fieldWizardHtml)) {
216 216
             $expansionHtml[] = '<div class="form-wizards-items-bottom">';
217 217
             $expansionHtml[] = $fieldWizardHtml;
218 218
             $expansionHtml[] = '</div>';
219 219
         }
220
-        $expansionHtml[] =  '</div>';
220
+        $expansionHtml[] = '</div>';
221 221
         $expansionHtml[] = '</div>';
222 222
         $expansionHtml = implode(LF, $expansionHtml);
223 223
 
@@ -227,11 +227,11 @@  discard block
 block discarded – undo
227 227
             $fullElement = [];
228 228
             $fullElement[] = '<div class="t3-form-field-disable"></div>';
229 229
             $fullElement[] = '<div class="checkbox t3-form-field-eval-null-checkbox">';
230
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
231
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
232
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
233
-            $fullElement[] =         $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
234
-            $fullElement[] =     '</label>';
230
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
231
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
232
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
233
+            $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
234
+            $fullElement[] = '</label>';
235 235
             $fullElement[] = '</div>';
236 236
             $fullElement[] = $expansionHtml;
237 237
             $fullElement = implode(LF, $fullElement);
@@ -260,19 +260,19 @@  discard block
 block discarded – undo
260 260
             }
261 261
             $fullElement = [];
262 262
             $fullElement[] = '<div class="checkbox t3js-form-field-eval-null-placeholder-checkbox">';
263
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
264
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
265
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
266
-            $fullElement[] =         $overrideLabel;
267
-            $fullElement[] =     '</label>';
263
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
264
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
265
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
266
+            $fullElement[] = $overrideLabel;
267
+            $fullElement[] = '</label>';
268 268
             $fullElement[] = '</div>';
269 269
             $fullElement[] = '<div class="t3js-formengine-placeholder-placeholder">';
270
-            $fullElement[] =    '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
271
-            $fullElement[] =        '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
272
-            $fullElement[] =    '</div>';
270
+            $fullElement[] = '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
271
+            $fullElement[] = '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
272
+            $fullElement[] = '</div>';
273 273
             $fullElement[] = '</div>';
274 274
             $fullElement[] = '<div class="t3js-formengine-placeholder-formfield">';
275
-            $fullElement[] =    $expansionHtml;
275
+            $fullElement[] = $expansionHtml;
276 276
             $fullElement[] = '</div>';
277 277
             $fullElement = implode(LF, $fullElement);
278 278
         }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/InputTextElement.php 1 patch
Spacing   +38 added lines, -38 removed lines patch added patch discarded remove patch
@@ -103,14 +103,14 @@  discard block
 block discarded – undo
103 103
 
104 104
             $html = [];
105 105
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
106
-            $html[] =   $fieldInformationHtml;
107
-            $html[] =   '<div class="form-wizards-wrap">';
108
-            $html[] =       '<div class="form-wizards-element">';
109
-            $html[] =           '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
110
-            $html[] =               '<input ' . GeneralUtility::implodeAttributes($disabledFieldAttributes, true) . ' disabled>';
111
-            $html[] =           '</div>';
112
-            $html[] =       '</div>';
113
-            $html[] =   '</div>';
106
+            $html[] = $fieldInformationHtml;
107
+            $html[] = '<div class="form-wizards-wrap">';
108
+            $html[] = '<div class="form-wizards-element">';
109
+            $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
110
+            $html[] = '<input ' . GeneralUtility::implodeAttributes($disabledFieldAttributes, true) . ' disabled>';
111
+            $html[] = '</div>';
112
+            $html[] = '</div>';
113
+            $html[] = '</div>';
114 114
             $html[] = '</div>';
115 115
             $resultArray['html'] = implode(LF, $html);
116 116
             return $resultArray;
@@ -184,8 +184,8 @@  discard block
 block discarded – undo
184 184
                     . '.value=this.options[this.selectedIndex].value';
185 185
             }
186 186
             $valuePickerHtml[] = '<select';
187
-            $valuePickerHtml[] =  ' class="form-control tceforms-select tceforms-wizardselect"';
188
-            $valuePickerHtml[] =  ' onchange="' . htmlspecialchars($assignValue . ';this.blur();this.selectedIndex=0;' . implode('', $fieldChangeFunc)) . '"';
187
+            $valuePickerHtml[] = ' class="form-control tceforms-select tceforms-wizardselect"';
188
+            $valuePickerHtml[] = ' onchange="' . htmlspecialchars($assignValue . ';this.blur();this.selectedIndex=0;' . implode('', $fieldChangeFunc)) . '"';
189 189
             $valuePickerHtml[] = '>';
190 190
             $valuePickerHtml[] = '<option></option>';
191 191
             foreach ($config['valuePicker']['items'] as $item) {
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
                 $valueType = 'double';
213 213
                 $itemValue = (double)$itemValue;
214 214
             }
215
-            $callbackParams = [ $table, $row['uid'], $fieldName, $parameterArray['itemFormElName'] ];
215
+            $callbackParams = [$table, $row['uid'], $fieldName, $parameterArray['itemFormElName']];
216 216
             $rangeAttributes = [
217 217
                 'id' => $id,
218 218
                 'type' => 'range',
@@ -257,26 +257,26 @@  discard block
 block discarded – undo
257 257
 
258 258
         $mainFieldHtml = [];
259 259
         $mainFieldHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
260
-        $mainFieldHtml[] =  '<div class="form-wizards-wrap">';
261
-        $mainFieldHtml[] =      '<div class="form-wizards-element">';
262
-        $mainFieldHtml[] =          '<input type="' . $inputType . '" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
263
-        $mainFieldHtml[] =          '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
264
-        $mainFieldHtml[] =      '</div>';
260
+        $mainFieldHtml[] = '<div class="form-wizards-wrap">';
261
+        $mainFieldHtml[] = '<div class="form-wizards-element">';
262
+        $mainFieldHtml[] = '<input type="' . $inputType . '" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
263
+        $mainFieldHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
264
+        $mainFieldHtml[] = '</div>';
265 265
         if (!empty($valuePickerHtml) || !empty($valueSliderHtml) || !empty($fieldControlHtml)) {
266
-            $mainFieldHtml[] =      '<div class="form-wizards-items-aside">';
267
-            $mainFieldHtml[] =          '<div class="btn-group">';
268
-            $mainFieldHtml[] =              implode(LF, $valuePickerHtml);
269
-            $mainFieldHtml[] =              implode(LF, $valueSliderHtml);
270
-            $mainFieldHtml[] =              $fieldControlHtml;
271
-            $mainFieldHtml[] =          '</div>';
272
-            $mainFieldHtml[] =      '</div>';
266
+            $mainFieldHtml[] = '<div class="form-wizards-items-aside">';
267
+            $mainFieldHtml[] = '<div class="btn-group">';
268
+            $mainFieldHtml[] = implode(LF, $valuePickerHtml);
269
+            $mainFieldHtml[] = implode(LF, $valueSliderHtml);
270
+            $mainFieldHtml[] = $fieldControlHtml;
271
+            $mainFieldHtml[] = '</div>';
272
+            $mainFieldHtml[] = '</div>';
273 273
         }
274 274
         if (!empty($fieldWizardHtml)) {
275 275
             $mainFieldHtml[] = '<div class="form-wizards-items-bottom">';
276 276
             $mainFieldHtml[] = $fieldWizardHtml;
277 277
             $mainFieldHtml[] = '</div>';
278 278
         }
279
-        $mainFieldHtml[] =  '</div>';
279
+        $mainFieldHtml[] = '</div>';
280 280
         $mainFieldHtml[] = '</div>';
281 281
         $mainFieldHtml = implode(LF, $mainFieldHtml);
282 282
 
@@ -286,11 +286,11 @@  discard block
 block discarded – undo
286 286
             $fullElement = [];
287 287
             $fullElement[] = '<div class="t3-form-field-disable"></div>';
288 288
             $fullElement[] = '<div class="checkbox t3-form-field-eval-null-checkbox">';
289
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
290
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
291
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
292
-            $fullElement[] =         $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
293
-            $fullElement[] =     '</label>';
289
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
290
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
291
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
292
+            $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
293
+            $fullElement[] = '</label>';
294 294
             $fullElement[] = '</div>';
295 295
             $fullElement[] = $mainFieldHtml;
296 296
             $fullElement = implode(LF, $fullElement);
@@ -319,19 +319,19 @@  discard block
 block discarded – undo
319 319
             }
320 320
             $fullElement = [];
321 321
             $fullElement[] = '<div class="checkbox t3js-form-field-eval-null-placeholder-checkbox">';
322
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
323
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
324
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
325
-            $fullElement[] =         $overrideLabel;
326
-            $fullElement[] =     '</label>';
322
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
323
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
324
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
325
+            $fullElement[] = $overrideLabel;
326
+            $fullElement[] = '</label>';
327 327
             $fullElement[] = '</div>';
328 328
             $fullElement[] = '<div class="t3js-formengine-placeholder-placeholder">';
329
-            $fullElement[] =    '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
330
-            $fullElement[] =        '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
331
-            $fullElement[] =    '</div>';
329
+            $fullElement[] = '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
330
+            $fullElement[] = '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
331
+            $fullElement[] = '</div>';
332 332
             $fullElement[] = '</div>';
333 333
             $fullElement[] = '<div class="t3js-formengine-placeholder-formfield">';
334
-            $fullElement[] =    $mainFieldHtml;
334
+            $fullElement[] = $mainFieldHtml;
335 335
             $fullElement[] = '</div>';
336 336
             $fullElement = implode(LF, $fullElement);
337 337
         }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/InputColorPickerElement.php 1 patch
Spacing   +34 added lines, -34 removed lines patch added patch discarded remove patch
@@ -89,14 +89,14 @@  discard block
 block discarded – undo
89 89
         if ($config['readOnly']) {
90 90
             $html = [];
91 91
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
92
-            $html[] =   $fieldInformationHtml;
93
-            $html[] =   '<div class="form-wizards-wrap">';
94
-            $html[] =       '<div class="form-wizards-element">';
95
-            $html[] =           '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
96
-            $html[] =               '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
97
-            $html[] =           '</div>';
98
-            $html[] =       '</div>';
99
-            $html[] =   '</div>';
92
+            $html[] = $fieldInformationHtml;
93
+            $html[] = '<div class="form-wizards-wrap">';
94
+            $html[] = '<div class="form-wizards-element">';
95
+            $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
96
+            $html[] = '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
97
+            $html[] = '</div>';
98
+            $html[] = '</div>';
99
+            $html[] = '</div>';
100 100
             $html[] = '</div>';
101 101
             $resultArray['html'] = implode(LF, $html);
102 102
             return $resultArray;
@@ -178,23 +178,23 @@  discard block
 block discarded – undo
178 178
 
179 179
         $mainFieldHtml = [];
180 180
         $mainFieldHtml[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
181
-        $mainFieldHtml[] =  '<div class="form-wizards-wrap">';
182
-        $mainFieldHtml[] =      '<div class="form-wizards-element">';
183
-        $mainFieldHtml[] =          '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
184
-        $mainFieldHtml[] =          '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
185
-        $mainFieldHtml[] =      '</div>';
186
-        $mainFieldHtml[] =      '<div class="form-wizards-items-aside">';
187
-        $mainFieldHtml[] =          '<div class="btn-group">';
188
-        $mainFieldHtml[] =              $fieldControlHtml;
189
-        $mainFieldHtml[] =              implode(LF, $valuePickerHtml);
190
-        $mainFieldHtml[] =          '</div>';
191
-        $mainFieldHtml[] =      '</div>';
181
+        $mainFieldHtml[] = '<div class="form-wizards-wrap">';
182
+        $mainFieldHtml[] = '<div class="form-wizards-element">';
183
+        $mainFieldHtml[] = '<input type="text" ' . GeneralUtility::implodeAttributes($attributes, true) . ' />';
184
+        $mainFieldHtml[] = '<input type="hidden" name="' . $parameterArray['itemFormElName'] . '" value="' . htmlspecialchars($itemValue) . '" />';
185
+        $mainFieldHtml[] = '</div>';
186
+        $mainFieldHtml[] = '<div class="form-wizards-items-aside">';
187
+        $mainFieldHtml[] = '<div class="btn-group">';
188
+        $mainFieldHtml[] = $fieldControlHtml;
189
+        $mainFieldHtml[] = implode(LF, $valuePickerHtml);
190
+        $mainFieldHtml[] = '</div>';
191
+        $mainFieldHtml[] = '</div>';
192 192
         if (!empty($fieldWizardHtml)) {
193 193
             $mainFieldHtml[] = '<div class="form-wizards-items-bottom">';
194 194
             $mainFieldHtml[] = $fieldWizardHtml;
195 195
             $mainFieldHtml[] = '</div>';
196 196
         }
197
-        $mainFieldHtml[] =  '</div>';
197
+        $mainFieldHtml[] = '</div>';
198 198
         $mainFieldHtml[] = '</div>';
199 199
         $mainFieldHtml = implode(LF, $mainFieldHtml);
200 200
 
@@ -204,11 +204,11 @@  discard block
 block discarded – undo
204 204
             $fullElement = [];
205 205
             $fullElement[] = '<div class="t3-form-field-disable"></div>';
206 206
             $fullElement[] = '<div class="checkbox t3-form-field-eval-null-checkbox">';
207
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
208
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
209
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
210
-            $fullElement[] =         $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
211
-            $fullElement[] =     '</label>';
207
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
208
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="0" />';
209
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . ' />';
210
+            $fullElement[] = $languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.nullCheckbox');
211
+            $fullElement[] = '</label>';
212 212
             $fullElement[] = '</div>';
213 213
             $fullElement[] = $mainFieldHtml;
214 214
             $fullElement = implode(LF, $fullElement);
@@ -237,19 +237,19 @@  discard block
 block discarded – undo
237 237
             }
238 238
             $fullElement = [];
239 239
             $fullElement[] = '<div class="checkbox t3js-form-field-eval-null-placeholder-checkbox">';
240
-            $fullElement[] =     '<label for="' . $nullControlNameEscaped . '">';
241
-            $fullElement[] =         '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
242
-            $fullElement[] =         '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
243
-            $fullElement[] =         $overrideLabel;
244
-            $fullElement[] =     '</label>';
240
+            $fullElement[] = '<label for="' . $nullControlNameEscaped . '">';
241
+            $fullElement[] = '<input type="hidden" name="' . $nullControlNameEscaped . '" value="' . $fallbackValue . '" />';
242
+            $fullElement[] = '<input type="checkbox" name="' . $nullControlNameEscaped . '" id="' . $nullControlNameEscaped . '" value="1"' . $checked . $disabled . ' />';
243
+            $fullElement[] = $overrideLabel;
244
+            $fullElement[] = '</label>';
245 245
             $fullElement[] = '</div>';
246 246
             $fullElement[] = '<div class="t3js-formengine-placeholder-placeholder">';
247
-            $fullElement[] =    '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
248
-            $fullElement[] =        '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
249
-            $fullElement[] =    '</div>';
247
+            $fullElement[] = '<div class="form-control-wrap" style="max-width:' . $width . 'px">';
248
+            $fullElement[] = '<input type="text" class="form-control" disabled="disabled" value="' . htmlspecialchars($shortenedPlaceholder) . '" />';
249
+            $fullElement[] = '</div>';
250 250
             $fullElement[] = '</div>';
251 251
             $fullElement[] = '<div class="t3js-formengine-placeholder-formfield">';
252
-            $fullElement[] =    $mainFieldHtml;
252
+            $fullElement[] = $mainFieldHtml;
253 253
             $fullElement[] = '</div>';
254 254
             $fullElement = implode(LF, $fullElement);
255 255
         }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Utility/RootlineUtility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -263,7 +263,7 @@
 block discarded – undo
263 263
                 if ($this->languageUid > 0) {
264 264
                     $row = $this->pageRepository->getPageOverlay($row, $this->languageUid);
265 265
                 }
266
-                $row = $this->enrichWithRelationFields($row['_PAGES_OVERLAY_UID'] ??  $uid, $row);
266
+                $row = $this->enrichWithRelationFields($row['_PAGES_OVERLAY_UID'] ?? $uid, $row);
267 267
                 self::$pageRecordCache[$currentCacheIdentifier] = $row;
268 268
             }
269 269
         }
Please login to merge, or discard this patch.
typo3/sysext/adminpanel/Classes/Modules/Debug/QueryInformation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
         }
129 129
         uasort(
130 130
             $groupedQueries,
131
-            static function ($a, $b) {
131
+            static function($a, $b) {
132 132
                 return $b['time'] <=> $a['time'];
133 133
             }
134 134
         );
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-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-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.
typo3/sysext/core/Classes/Imaging/ImageDimension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
                 (int)$processedFile->getOriginalFile()->getProperty('height')
73 73
             );
74 74
         }
75
-        if ($imageDimension->width <=0 || $imageDimension->height <=0) {
75
+        if ($imageDimension->width <= 0 || $imageDimension->height <= 0) {
76 76
             throw new \BadMethodCallException('Width and height of the image must be greater than zero', 1597310560);
77 77
         }
78 78
         $result = GeneralUtility::makeInstance(GraphicalFunctions::class)->getImageScale(
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/QueryGenerator.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1436,7 +1436,7 @@  discard block
 block discarded – undo
1436 1436
         if (in_array('table', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableSelectATable']) {
1437 1437
             $out[] = '<div class="form-group">';
1438 1438
             $out[] = '	<label for="SET[queryTable]">Select a table:</label>';
1439
-            $out[] =    $this->mkTableSelect('SET[queryTable]', $this->table);
1439
+            $out[] = $this->mkTableSelect('SET[queryTable]', $this->table);
1440 1440
             $out[] = '</div>';
1441 1441
         }
1442 1442
         if ($this->table) {
@@ -1476,19 +1476,19 @@  discard block
 block discarded – undo
1476 1476
             if (in_array('fields', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableSelectFields']) {
1477 1477
                 $out[] = '<div class="form-group form-group-with-button-addon">';
1478 1478
                 $out[] = '	<label for="SET[queryFields]">Select fields:</label>';
1479
-                $out[] =    $this->mkFieldToInputSelect('SET[queryFields]', $this->extFieldLists['queryFields']);
1479
+                $out[] = $this->mkFieldToInputSelect('SET[queryFields]', $this->extFieldLists['queryFields']);
1480 1480
                 $out[] = '</div>';
1481 1481
             }
1482 1482
             if (in_array('query', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableMakeQuery']) {
1483 1483
                 $out[] = '<div class="form-group">';
1484 1484
                 $out[] = '	<label>Make Query:</label>';
1485
-                $out[] =    $queryCode;
1485
+                $out[] = $queryCode;
1486 1486
                 $out[] = '</div>';
1487 1487
             }
1488 1488
             if (in_array('group', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableGroupBy']) {
1489 1489
                 $out[] = '<div class="form-group form-inline">';
1490 1490
                 $out[] = '	<label for="SET[queryGroup]">Group By:</label>';
1491
-                $out[] =     $this->mkTypeSelect('SET[queryGroup]', $this->extFieldLists['queryGroup'], '');
1491
+                $out[] = $this->mkTypeSelect('SET[queryGroup]', $this->extFieldLists['queryGroup'], '');
1492 1492
                 $out[] = '</div>';
1493 1493
             }
1494 1494
             if (in_array('order', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableOrderBy']) {
@@ -1497,7 +1497,7 @@  discard block
 block discarded – undo
1497 1497
                 $orderBy[] = $this->mkTypeSelect('SET[queryOrder]', $orderByArr[0], '');
1498 1498
                 $orderBy[] = '<div class="checkbox">';
1499 1499
                 $orderBy[] = '	<label for="checkQueryOrderDesc">';
1500
-                $orderBy[] =        BackendUtility::getFuncCheck(0, 'SET[queryOrderDesc]', $modSettings['queryOrderDesc'], '', '', 'id="checkQueryOrderDesc"') . ' Descending';
1500
+                $orderBy[] = BackendUtility::getFuncCheck(0, 'SET[queryOrderDesc]', $modSettings['queryOrderDesc'], '', '', 'id="checkQueryOrderDesc"') . ' Descending';
1501 1501
                 $orderBy[] = '	</label>';
1502 1502
                 $orderBy[] = '</div>';
1503 1503
 
@@ -1505,13 +1505,13 @@  discard block
 block discarded – undo
1505 1505
                     $orderBy[] = $this->mkTypeSelect('SET[queryOrder2]', $orderByArr[1], '');
1506 1506
                     $orderBy[] = '<div class="checkbox">';
1507 1507
                     $orderBy[] = '	<label for="checkQueryOrder2Desc">';
1508
-                    $orderBy[] =        BackendUtility::getFuncCheck(0, 'SET[queryOrder2Desc]', $modSettings['queryOrder2Desc'], '', '', 'id="checkQueryOrder2Desc"') . ' Descending';
1508
+                    $orderBy[] = BackendUtility::getFuncCheck(0, 'SET[queryOrder2Desc]', $modSettings['queryOrder2Desc'], '', '', 'id="checkQueryOrder2Desc"') . ' Descending';
1509 1509
                     $orderBy[] = '	</label>';
1510 1510
                     $orderBy[] = '</div>';
1511 1511
                 }
1512 1512
                 $out[] = '<div class="form-group form-inline">';
1513 1513
                 $out[] = '	<label>Order By:</label>';
1514
-                $out[] =     implode(LF, $orderBy);
1514
+                $out[] = implode(LF, $orderBy);
1515 1515
                 $out[] = '</div>';
1516 1516
             }
1517 1517
             if (in_array('limit', $enableArr) && !$userTsConfig['mod.']['dbint.']['disableLimit']) {
@@ -1545,10 +1545,10 @@  discard block
 block discarded – undo
1545 1545
                 $out[] = '<div class="form-group">';
1546 1546
                 $out[] = '	<label>Limit:</label>';
1547 1547
                 $out[] = '	<div class="form-inline">';
1548
-                $out[] =        implode(LF, $limit);
1548
+                $out[] = implode(LF, $limit);
1549 1549
                 $out[] = '		<div class="btn-group t3js-limit-submit">';
1550
-                $out[] =            $prevButton;
1551
-                $out[] =            $nextButton;
1550
+                $out[] = $prevButton;
1551
+                $out[] = $nextButton;
1552 1552
                 $out[] = '		</div>';
1553 1553
                 $out[] = '		<div class="btn-group t3js-limit-submit">';
1554 1554
                 $out[] = '			<input type="button" class="btn btn-default" data-value="10" value="10">';
Please login to merge, or discard this patch.