Test Failed
Branch master (137376)
by Tymoteusz
20:39
created
typo3/sysext/recordlist/Classes/LinkHandler/RecordLinkHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Recordlist\LinkHandler;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/LinkHandling/RecordLinkHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Core\LinkHandling;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
typo3/sysext/frontend/Classes/DataProcessing/GalleryProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -488,7 +488,7 @@
 block discarded – undo
488 488
 
489 489
         $croppingConfiguration = $fileObject->getProperty('crop');
490 490
         $cropVariantCollection = CropVariantCollection::create((string)$croppingConfiguration);
491
-        return (int) $cropVariantCollection->getCropArea($this->cropVariant)->makeAbsoluteBasedOnFile($fileObject)->asArray()[$dimensionalProperty];
491
+        return (int)$cropVariantCollection->getCropArea($this->cropVariant)->makeAbsoluteBasedOnFile($fileObject)->asArray()[$dimensionalProperty];
492 492
     }
493 493
 
494 494
     /**
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/GroupElement.php 1 patch
Spacing   +108 added lines, -108 removed lines patch added patch discarded remove patch
@@ -38,22 +38,22 @@  discard block
 block discarded – undo
38 38
         ],
39 39
         'insertClipboard' => [
40 40
             'renderType' => 'insertClipboard',
41
-            'after' => [ 'elementBrowser' ],
41
+            'after' => ['elementBrowser'],
42 42
         ],
43 43
         'editPopup' => [
44 44
             'renderType' => 'editPopup',
45 45
             'disabled' => true,
46
-            'after' => [ 'insertClipboard' ],
46
+            'after' => ['insertClipboard'],
47 47
         ],
48 48
         'addRecord' => [
49 49
             'renderType' => 'addRecord',
50 50
             'disabled' => true,
51
-            'after' => [ 'editPopup' ],
51
+            'after' => ['editPopup'],
52 52
         ],
53 53
         'listModule' => [
54 54
             'renderType' => 'listModule',
55 55
             'disabled' => true,
56
-            'after' => [ 'addRecord' ],
56
+            'after' => ['addRecord'],
57 57
         ],
58 58
     ];
59 59
 
@@ -68,31 +68,31 @@  discard block
 block discarded – undo
68 68
         ],
69 69
         'fileTypeList' => [
70 70
             'renderType' => 'fileTypeList',
71
-            'after' => [ 'tableList' ],
71
+            'after' => ['tableList'],
72 72
         ],
73 73
         'fileThumbnails' => [
74 74
             'renderType' => 'fileThumbnails',
75
-            'after' => [ 'fileTypeList' ],
75
+            'after' => ['fileTypeList'],
76 76
         ],
77 77
         'recordsOverview' => [
78 78
             'renderType' => 'recordsOverview',
79
-            'after' => [ 'fileThumbnails' ],
79
+            'after' => ['fileThumbnails'],
80 80
         ],
81 81
         'fileUpload' => [
82 82
             'renderType' => 'fileUpload',
83
-            'after' => [ 'recordsOverview' ],
83
+            'after' => ['recordsOverview'],
84 84
         ],
85 85
         'localizationStateSelector' => [
86 86
             'renderType' => 'localizationStateSelector',
87
-            'after' => [ 'fileUpload' ],
87
+            'after' => ['fileUpload'],
88 88
         ],
89 89
         'otherLanguageContent' => [
90 90
             'renderType' => 'otherLanguageContent',
91
-            'after' => [ 'localizationStateSelector' ],
91
+            'after' => ['localizationStateSelector'],
92 92
         ],
93 93
         'defaultLanguageDifferences' => [
94 94
             'renderType' => 'defaultLanguageDifferences',
95
-            'after' => [ 'otherLanguageContent' ],
95
+            'after' => ['otherLanguageContent'],
96 96
         ],
97 97
     ];
98 98
 
@@ -179,20 +179,20 @@  discard block
 block discarded – undo
179 179
             // Return early if element is read only
180 180
             $html = [];
181 181
             $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
182
-            $html[] =   '<div class="form-wizards-wrap">';
183
-            $html[] =       '<div class="form-wizards-element">';
184
-            $html[] =           '<select';
185
-            $html[] =               ' size="' . $size . '"';
186
-            $html[] =               ' disabled="disabled"';
187
-            $html[] =               ' class="form-control tceforms-multiselect"';
188
-            $html[] =               ($maxItems !== 1 && $size !== 1) ? ' multiple="multiple"' : '';
189
-            $html[] =           '>';
190
-            $html[] =               implode(LF, $selectorOptionsHtml);
191
-            $html[] =           '</select>';
192
-            $html[] =       '</div>';
193
-            $html[] =       '<div class="form-wizards-items-aside">';
194
-            $html[] =       '</div>';
195
-            $html[] =   '</div>';
182
+            $html[] = '<div class="form-wizards-wrap">';
183
+            $html[] = '<div class="form-wizards-element">';
184
+            $html[] = '<select';
185
+            $html[] = ' size="' . $size . '"';
186
+            $html[] = ' disabled="disabled"';
187
+            $html[] = ' class="form-control tceforms-multiselect"';
188
+            $html[] = ($maxItems !== 1 && $size !== 1) ? ' multiple="multiple"' : '';
189
+            $html[] = '>';
190
+            $html[] = implode(LF, $selectorOptionsHtml);
191
+            $html[] = '</select>';
192
+            $html[] = '</div>';
193
+            $html[] = '<div class="form-wizards-items-aside">';
194
+            $html[] = '</div>';
195
+            $html[] = '</div>';
196 196
             $html[] = '</div>';
197 197
             $resultArray['html'] = implode(LF, $html);
198 198
             return $resultArray;
@@ -305,98 +305,98 @@  discard block
 block discarded – undo
305 305
 
306 306
         $html = [];
307 307
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
308
-        $html[] =   $fieldInformationHtml;
309
-        $html[] =   '<div class="form-wizards-wrap">';
308
+        $html[] = $fieldInformationHtml;
309
+        $html[] = '<div class="form-wizards-wrap">';
310 310
         if ($internalType === 'db' && (!isset($config['hideSuggest']) || (bool)$config['hideSuggest'] !== true)) {
311
-            $html[] =   '<div class="form-wizards-items-top">';
312
-            $html[] =       '<div class="autocomplete t3-form-suggest-container">';
313
-            $html[] =           '<div class="input-group">';
314
-            $html[] =               '<span class="input-group-addon">';
315
-            $html[] =                   $this->iconFactory->getIcon('actions-search', Icon::SIZE_SMALL)->render();
316
-            $html[] =               '</span>';
317
-            $html[] =               '<input type="search" class="t3-form-suggest form-control"';
318
-            $html[] =                   ' placeholder="' . $languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.findRecord') . '"';
319
-            $html[] =                   ' data-fieldname="' . htmlspecialchars($fieldName) . '"';
320
-            $html[] =                   ' data-tablename="' . htmlspecialchars($table) . '"';
321
-            $html[] =                   ' data-field="' . htmlspecialchars($elementName) . '"';
322
-            $html[] =                   ' data-uid="' . htmlspecialchars($this->data['databaseRow']['uid']) . '"';
323
-            $html[] =                   ' data-pid="' . htmlspecialchars($this->data['effectivePid']) . '"';
324
-            $html[] =                   ' data-fieldtype="' . htmlspecialchars($config['type']) . '"';
325
-            $html[] =                   ' data-minchars="' . htmlspecialchars($suggestMinimumCharacters) . '"';
326
-            $html[] =                   ' data-datastructureidentifier="' . htmlspecialchars($dataStructureIdentifier) . '"';
327
-            $html[] =                   ' data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"';
328
-            $html[] =                   ' data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"';
329
-            $html[] =                   ' data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"';
330
-            $html[] =                   ' data-flexformcontainerfieldname="' . htmlspecialchars($flexFormContainerFieldName) . '"';
331
-            $html[] =               '/>';
332
-            $html[] =           '</div>';
333
-            $html[] =       '</div>';
334
-            $html[] =   '</div>';
311
+            $html[] = '<div class="form-wizards-items-top">';
312
+            $html[] = '<div class="autocomplete t3-form-suggest-container">';
313
+            $html[] = '<div class="input-group">';
314
+            $html[] = '<span class="input-group-addon">';
315
+            $html[] = $this->iconFactory->getIcon('actions-search', Icon::SIZE_SMALL)->render();
316
+            $html[] = '</span>';
317
+            $html[] = '<input type="search" class="t3-form-suggest form-control"';
318
+            $html[] = ' placeholder="' . $languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.findRecord') . '"';
319
+            $html[] = ' data-fieldname="' . htmlspecialchars($fieldName) . '"';
320
+            $html[] = ' data-tablename="' . htmlspecialchars($table) . '"';
321
+            $html[] = ' data-field="' . htmlspecialchars($elementName) . '"';
322
+            $html[] = ' data-uid="' . htmlspecialchars($this->data['databaseRow']['uid']) . '"';
323
+            $html[] = ' data-pid="' . htmlspecialchars($this->data['effectivePid']) . '"';
324
+            $html[] = ' data-fieldtype="' . htmlspecialchars($config['type']) . '"';
325
+            $html[] = ' data-minchars="' . htmlspecialchars($suggestMinimumCharacters) . '"';
326
+            $html[] = ' data-datastructureidentifier="' . htmlspecialchars($dataStructureIdentifier) . '"';
327
+            $html[] = ' data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"';
328
+            $html[] = ' data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"';
329
+            $html[] = ' data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"';
330
+            $html[] = ' data-flexformcontainerfieldname="' . htmlspecialchars($flexFormContainerFieldName) . '"';
331
+            $html[] = '/>';
332
+            $html[] = '</div>';
333
+            $html[] = '</div>';
334
+            $html[] = '</div>';
335 335
         }
336
-        $html[] =       '<div class="form-wizards-element">';
337
-        $html[] =           '<input type="hidden" class="t3js-group-hidden-field" data-formengine-input-name="' . htmlspecialchars($elementName) . '" value="' . $itemCanBeSelectedMoreThanOnce . '" />';
338
-        $html[] =           '<select ' . GeneralUtility::implodeAttributes($selectorAttributes, true) . '>';
339
-        $html[] =               implode(LF, $selectorOptionsHtml);
340
-        $html[] =           '</select>';
341
-        $html[] =       '</div>';
342
-        $html[] =       '<div class="form-wizards-items-aside">';
343
-        $html[] =           '<div class="btn-group-vertical">';
344
-        if ($maxItems > 1 && $size >=5 && $showMoveIcons) {
345
-            $html[] =           '<a href="#"';
346
-            $html[] =               ' class="btn btn-default t3js-btn-moveoption-top"';
347
-            $html[] =               ' data-fieldname="' . htmlspecialchars($elementName) . '"';
348
-            $html[] =               ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.move_to_top')) . '"';
349
-            $html[] =           '>';
350
-            $html[] =               $this->iconFactory->getIcon('actions-move-to-top', Icon::SIZE_SMALL)->render();
351
-            $html[] =           '</a>';
336
+        $html[] = '<div class="form-wizards-element">';
337
+        $html[] = '<input type="hidden" class="t3js-group-hidden-field" data-formengine-input-name="' . htmlspecialchars($elementName) . '" value="' . $itemCanBeSelectedMoreThanOnce . '" />';
338
+        $html[] = '<select ' . GeneralUtility::implodeAttributes($selectorAttributes, true) . '>';
339
+        $html[] = implode(LF, $selectorOptionsHtml);
340
+        $html[] = '</select>';
341
+        $html[] = '</div>';
342
+        $html[] = '<div class="form-wizards-items-aside">';
343
+        $html[] = '<div class="btn-group-vertical">';
344
+        if ($maxItems > 1 && $size >= 5 && $showMoveIcons) {
345
+            $html[] = '<a href="#"';
346
+            $html[] = ' class="btn btn-default t3js-btn-moveoption-top"';
347
+            $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"';
348
+            $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.move_to_top')) . '"';
349
+            $html[] = '>';
350
+            $html[] = $this->iconFactory->getIcon('actions-move-to-top', Icon::SIZE_SMALL)->render();
351
+            $html[] = '</a>';
352 352
         }
353 353
         if ($maxItems > 1 && $size > 1 && $showMoveIcons) {
354
-            $html[] =           '<a href="#"';
355
-            $html[] =               ' class="btn btn-default t3js-btn-moveoption-up"';
356
-            $html[] =               ' data-fieldname="' . htmlspecialchars($elementName) . '"';
357
-            $html[] =               ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.move_up')) . '"';
358
-            $html[] =           '>';
359
-            $html[] =               $this->iconFactory->getIcon('actions-move-up', Icon::SIZE_SMALL)->render();
360
-            $html[] =           '</a>';
361
-            $html[] =           '<a href="#"';
362
-            $html[] =               ' class="btn btn-default t3js-btn-moveoption-down"';
363
-            $html[] =               ' data-fieldname="' . htmlspecialchars($elementName) . '"';
364
-            $html[] =               ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.move_down')) . '"';
365
-            $html[] =           '>';
366
-            $html[] =               $this->iconFactory->getIcon('actions-move-down', Icon::SIZE_SMALL)->render();
367
-            $html[] =           '</a>';
354
+            $html[] = '<a href="#"';
355
+            $html[] = ' class="btn btn-default t3js-btn-moveoption-up"';
356
+            $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"';
357
+            $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.move_up')) . '"';
358
+            $html[] = '>';
359
+            $html[] = $this->iconFactory->getIcon('actions-move-up', Icon::SIZE_SMALL)->render();
360
+            $html[] = '</a>';
361
+            $html[] = '<a href="#"';
362
+            $html[] = ' class="btn btn-default t3js-btn-moveoption-down"';
363
+            $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"';
364
+            $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.move_down')) . '"';
365
+            $html[] = '>';
366
+            $html[] = $this->iconFactory->getIcon('actions-move-down', Icon::SIZE_SMALL)->render();
367
+            $html[] = '</a>';
368 368
         }
369 369
         if ($maxItems > 1 && $size >= 5 && $showMoveIcons) {
370
-            $html[] =           '<a href="#"';
371
-            $html[] =               ' class="btn btn-default t3js-btn-moveoption-bottom"';
372
-            $html[] =               ' data-fieldname="' . htmlspecialchars($elementName) . '"';
373
-            $html[] =               ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.move_to_bottom')) . '"';
374
-            $html[] =           '>';
375
-            $html[] =               $this->iconFactory->getIcon('actions-move-to-bottom', Icon::SIZE_SMALL)->render();
376
-            $html[] =           '</a>';
370
+            $html[] = '<a href="#"';
371
+            $html[] = ' class="btn btn-default t3js-btn-moveoption-bottom"';
372
+            $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"';
373
+            $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.move_to_bottom')) . '"';
374
+            $html[] = '>';
375
+            $html[] = $this->iconFactory->getIcon('actions-move-to-bottom', Icon::SIZE_SMALL)->render();
376
+            $html[] = '</a>';
377 377
         }
378 378
         if ($showDeleteControl) {
379
-            $html[] =           '<a href="#"';
380
-            $html[] =               ' class="btn btn-default t3js-btn-removeoption"';
381
-            $html[] =               ' data-fieldname="' . htmlspecialchars($elementName) . '"';
382
-            $html[] =               ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.remove_selected')) . '"';
383
-            $html[] =               ' onClick="' . $deleteControlOnClick . '"';
384
-            $html[] =           '>';
385
-            $html[] =               $this->iconFactory->getIcon('actions-selection-delete', Icon::SIZE_SMALL)->render();
386
-            $html[] =           '</a>';
379
+            $html[] = '<a href="#"';
380
+            $html[] = ' class="btn btn-default t3js-btn-removeoption"';
381
+            $html[] = ' data-fieldname="' . htmlspecialchars($elementName) . '"';
382
+            $html[] = ' title="' . htmlspecialchars($languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.remove_selected')) . '"';
383
+            $html[] = ' onClick="' . $deleteControlOnClick . '"';
384
+            $html[] = '>';
385
+            $html[] = $this->iconFactory->getIcon('actions-selection-delete', Icon::SIZE_SMALL)->render();
386
+            $html[] = '</a>';
387 387
         }
388
-        $html[] =           '</div>';
389
-        $html[] =       '</div>';
390
-        $html[] =       '<div class="form-wizards-items-aside">';
391
-        $html[] =           '<div class="btn-group-vertical">';
392
-        $html[] =               $fieldControlHtml;
393
-        $html[] =           '</div>';
394
-        $html[] =       '</div>';
395
-        $html[] =       '<div class="form-wizards-items-bottom">';
396
-        $html[] =           $fieldWizardHtml;
397
-        $html[] =       '</div>';
398
-        $html[] =   '</div>';
399
-        $html[] =   '<input type="hidden" name="' . htmlspecialchars($elementName) . '" value="' . htmlspecialchars(implode(',', $listOfSelectedValues)) . '" />';
388
+        $html[] = '</div>';
389
+        $html[] = '</div>';
390
+        $html[] = '<div class="form-wizards-items-aside">';
391
+        $html[] = '<div class="btn-group-vertical">';
392
+        $html[] = $fieldControlHtml;
393
+        $html[] = '</div>';
394
+        $html[] = '</div>';
395
+        $html[] = '<div class="form-wizards-items-bottom">';
396
+        $html[] = $fieldWizardHtml;
397
+        $html[] = '</div>';
398
+        $html[] = '</div>';
399
+        $html[] = '<input type="hidden" name="' . htmlspecialchars($elementName) . '" value="' . htmlspecialchars(implode(',', $listOfSelectedValues)) . '" />';
400 400
         $html[] = '</div>';
401 401
 
402 402
         $resultArray['html'] = implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/NoneElement.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -69,14 +69,14 @@
 block discarded – undo
69 69
 
70 70
         $html = [];
71 71
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
72
-        $html[] =   $fieldInformationHtml;
73
-        $html[] =   '<div class="form-wizards-wrap">';
74
-        $html[] =       '<div class="form-wizards-element">';
75
-        $html[] =           '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
76
-        $html[] =               '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
77
-        $html[] =           '</div>';
78
-        $html[] =       '</div>';
79
-        $html[] =   '</div>';
72
+        $html[] = $fieldInformationHtml;
73
+        $html[] = '<div class="form-wizards-wrap">';
74
+        $html[] = '<div class="form-wizards-element">';
75
+        $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
76
+        $html[] = '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
77
+        $html[] = '</div>';
78
+        $html[] = '</div>';
79
+        $html[] = '</div>';
80 80
         $html[] = '</div>';
81 81
 
82 82
         $resultArray['html'] = implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Container/FlexFormElementContainer.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -140,14 +140,14 @@
 block discarded – undo
140 140
                 $processedTitle = str_replace('\\n', '<br />', htmlspecialchars($fakeParameterArray['fieldConf']['label']));
141 141
                 $html = [];
142 142
                 $html[] = '<div class="form-section">';
143
-                $html[] =    '<div class="form-group t3js-formengine-palette-field t3js-formengine-validation-marker">';
144
-                $html[] =        '<label class="t3js-formengine-label">';
145
-                $html[] =            BackendUtility::wrapInHelp($parameterArray['_cshKey'], $flexFormFieldName, $processedTitle);
146
-                $html[] =        '</label>';
147
-                $html[] =        '<div class="formengine-field-item t3js-formengine-field-item">';
148
-                $html[] =            $childResult['html'];
149
-                $html[] =        '</div>';
150
-                $html[] =    '</div>';
143
+                $html[] = '<div class="form-group t3js-formengine-palette-field t3js-formengine-validation-marker">';
144
+                $html[] = '<label class="t3js-formengine-label">';
145
+                $html[] = BackendUtility::wrapInHelp($parameterArray['_cshKey'], $flexFormFieldName, $processedTitle);
146
+                $html[] = '</label>';
147
+                $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
148
+                $html[] = $childResult['html'];
149
+                $html[] = '</div>';
150
+                $html[] = '</div>';
151 151
                 $html[] = '</div>';
152 152
 
153 153
                 $resultArray['html'] .= implode(LF, $html);
Please login to merge, or discard this patch.
sysext/core/Classes/Imaging/ImageManipulation/CropVariantCollection.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\Core\Imaging\ImageManipulation;
4 4
 
5 5
 /*
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 
109 109
     public function __toString()
110 110
     {
111
-        $filterNonPersistentKeys = function ($key) {
111
+        $filterNonPersistentKeys = function($key) {
112 112
             if (in_array($key, ['id', 'title', 'allowedAspectRatios', 'coverAreas'], true)) {
113 113
                 return false;
114 114
             }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FieldWizard/LocalizationStateSelector.php 1 patch
Spacing   +41 added lines, -41 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
 /*
@@ -81,48 +81,48 @@  discard block
 block discarded – undo
81 81
 
82 82
         $html = [];
83 83
         $html[] = '<div class="t3js-l10n-state-container">';
84
-        $html[] =   '<div>';
85
-        $html[] =       '<strong>';
86
-        $html[] =           $languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_wizards.xlf:localizationStateSelector.header');
87
-        $html[] =       '</strong>';
88
-        $html[] =   '</div>';
89
-        $html[] =   '<div class="radio radio-inline">';
90
-        $html[] =       '<label>';
91
-        $html[] =           '<input';
92
-        $html[] =               ' type="radio"';
93
-        $html[] =               ' name="' . htmlspecialchars($fieldElementName) . '"';
94
-        $html[] =               ' class="t3js-l10n-state-custom"';
95
-        $html[] =               ' value="custom"';
96
-        $html[] =               $localizationState->isCustomState($fieldName) ? ' checked="checked"' : '';
97
-        $html[] =               ' data-original-language-value=""';
98
-        $html[] =           '>';
99
-        $html[] =           $languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_wizards.xlf:localizationStateSelector.customValue');
100
-        $html[] =       '</label>';
101
-        $html[] =   '</div>';
102
-        $html[] =   '<div class="radio radio-inline">';
103
-        $html[] =       '<label>';
104
-        $html[] =           '<input';
105
-        $html[] =               ' type="radio"';
106
-        $html[] =               ' name="' . htmlspecialchars($fieldElementName) . '"';
107
-        $html[] =               ' value="parent"';
108
-        $html[] =               $localizationState->isParentState($fieldName) ? ' checked="checked"' : '';
109
-        $html[] =               ' data-original-language-value="' . htmlspecialchars((string)$fieldValueInParentRow) . '"';
110
-        $html[] =           '>';
111
-        $html[] =           $languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_wizards.xlf:localizationStateSelector.defaultLanguageValue');
112
-        $html[] =       '</label>';
113
-        $html[] =   '</div>';
84
+        $html[] = '<div>';
85
+        $html[] = '<strong>';
86
+        $html[] = $languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_wizards.xlf:localizationStateSelector.header');
87
+        $html[] = '</strong>';
88
+        $html[] = '</div>';
89
+        $html[] = '<div class="radio radio-inline">';
90
+        $html[] = '<label>';
91
+        $html[] = '<input';
92
+        $html[] = ' type="radio"';
93
+        $html[] = ' name="' . htmlspecialchars($fieldElementName) . '"';
94
+        $html[] = ' class="t3js-l10n-state-custom"';
95
+        $html[] = ' value="custom"';
96
+        $html[] = $localizationState->isCustomState($fieldName) ? ' checked="checked"' : '';
97
+        $html[] = ' data-original-language-value=""';
98
+        $html[] = '>';
99
+        $html[] = $languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_wizards.xlf:localizationStateSelector.customValue');
100
+        $html[] = '</label>';
101
+        $html[] = '</div>';
102
+        $html[] = '<div class="radio radio-inline">';
103
+        $html[] = '<label>';
104
+        $html[] = '<input';
105
+        $html[] = ' type="radio"';
106
+        $html[] = ' name="' . htmlspecialchars($fieldElementName) . '"';
107
+        $html[] = ' value="parent"';
108
+        $html[] = $localizationState->isParentState($fieldName) ? ' checked="checked"' : '';
109
+        $html[] = ' data-original-language-value="' . htmlspecialchars((string)$fieldValueInParentRow) . '"';
110
+        $html[] = '>';
111
+        $html[] = $languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_wizards.xlf:localizationStateSelector.defaultLanguageValue');
112
+        $html[] = '</label>';
113
+        $html[] = '</div>';
114 114
         if ($fieldValueInSourceRow !== null) {
115 115
             $html[] = '<div class="radio radio-inline">';
116
-            $html[] =   '<label>';
117
-            $html[] =       '<input';
118
-            $html[] =           ' type="radio"';
119
-            $html[] =           ' name="' . htmlspecialchars($fieldElementName) . '"';
120
-            $html[] =           ' value="source"';
121
-            $html[] =           $localizationState->isSourceState($fieldName) ? ' checked="checked"' : '';
122
-            $html[] =           ' data-original-language-value="' . htmlspecialchars((string)$fieldValueInSourceRow) . '"';
123
-            $html[] =       '>';
124
-            $html[] =       sprintf($languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_wizards.xlf:localizationStateSelector.sourceLanguageValue'), htmlspecialchars($sourceLanguageTitle));
125
-            $html[] =   '</label>';
116
+            $html[] = '<label>';
117
+            $html[] = '<input';
118
+            $html[] = ' type="radio"';
119
+            $html[] = ' name="' . htmlspecialchars($fieldElementName) . '"';
120
+            $html[] = ' value="source"';
121
+            $html[] = $localizationState->isSourceState($fieldName) ? ' checked="checked"' : '';
122
+            $html[] = ' data-original-language-value="' . htmlspecialchars((string)$fieldValueInSourceRow) . '"';
123
+            $html[] = '>';
124
+            $html[] = sprintf($languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_wizards.xlf:localizationStateSelector.sourceLanguageValue'), htmlspecialchars($sourceLanguageTitle));
125
+            $html[] = '</label>';
126 126
             $html[] = '</div>';
127 127
         }
128 128
         $html[] = '</div>';
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FieldWizard/RecordsOverview.php 1 patch
Spacing   +15 added lines, -15 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
 /*
@@ -69,26 +69,26 @@  discard block
 block discarded – undo
69 69
                 $selectedItem['uid']
70 70
             );
71 71
             $recordsOverviewHtml[] = '<tr>';
72
-            $recordsOverviewHtml[] =    '<td class="col-icon">';
73
-            $recordsOverviewHtml[] =        $linkedIcon;
74
-            $recordsOverviewHtml[] =    '</td>';
75
-            $recordsOverviewHtml[] =    '<td class="col-title">';
76
-            $recordsOverviewHtml[] =        $linkedTitle;
77
-            $recordsOverviewHtml[] =        '<span class="text-muted">';
78
-            $recordsOverviewHtml[] =            ' [' . $selectedItem['uid'] . ']';
79
-            $recordsOverviewHtml[] =        '</span>';
80
-            $recordsOverviewHtml[] =    '</td>';
72
+            $recordsOverviewHtml[] = '<td class="col-icon">';
73
+            $recordsOverviewHtml[] = $linkedIcon;
74
+            $recordsOverviewHtml[] = '</td>';
75
+            $recordsOverviewHtml[] = '<td class="col-title">';
76
+            $recordsOverviewHtml[] = $linkedTitle;
77
+            $recordsOverviewHtml[] = '<span class="text-muted">';
78
+            $recordsOverviewHtml[] = ' [' . $selectedItem['uid'] . ']';
79
+            $recordsOverviewHtml[] = '</span>';
80
+            $recordsOverviewHtml[] = '</td>';
81 81
             $recordsOverviewHtml[] = '</tr>';
82 82
         }
83 83
 
84 84
         $html = [];
85 85
         if (!empty($recordsOverviewHtml)) {
86 86
             $html[] = '<div class="table-fit">';
87
-            $html[] =   '<table class="table table-white">';
88
-            $html[] =       '<tbody>';
89
-            $html[] =           implode(LF, $recordsOverviewHtml);
90
-            $html[] =       '</tbody>';
91
-            $html[] =   '</table>';
87
+            $html[] = '<table class="table table-white">';
88
+            $html[] = '<tbody>';
89
+            $html[] = implode(LF, $recordsOverviewHtml);
90
+            $html[] = '</tbody>';
91
+            $html[] = '</table>';
92 92
             $html[] = '</div>';
93 93
         }
94 94
 
Please login to merge, or discard this patch.