Completed
Branch master (b5e024)
by Christian
18:16
created
typo3/sysext/backend/Classes/Form/FieldWizard/SelectIcons.php 1 patch
Spacing   +7 added lines, -7 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
 /*
@@ -57,18 +57,18 @@  discard block
 block discarded – undo
57 57
         $html = [];
58 58
         if (!empty($selectIcons)) {
59 59
             $html[] = '<div class="t3js-forms-select-single-icons icon-list">';
60
-            $html[] =    '<div class="row">';
60
+            $html[] = '<div class="row">';
61 61
             foreach ($selectIcons as $i => $selectIcon) {
62
-                $active = $selectIcon['active'] ?  ' active' : '';
63
-                $html[] =   '<div class="item' . $active . '">';
62
+                $active = $selectIcon['active'] ? ' active' : '';
63
+                $html[] = '<div class="item' . $active . '">';
64 64
                 if (is_array($selectIcon)) {
65 65
                     $html[] = '<a href="#" title="' . htmlspecialchars($selectIcon['title'], ENT_COMPAT, 'UTF-8', false) . '" data-select-index="' . htmlspecialchars((string)$selectIcon['index']) . '">';
66
-                    $html[] =   $selectIcon['icon'];
66
+                    $html[] = $selectIcon['icon'];
67 67
                     $html[] = '</a>';
68 68
                 }
69
-                $html[] =   '</div>';
69
+                $html[] = '</div>';
70 70
             }
71
-            $html[] =    '</div>';
71
+            $html[] = '</div>';
72 72
             $html[] = '</div>';
73 73
         }
74 74
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FieldWizard/FileTypeList.php 1 patch
Spacing   +3 added lines, -3 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
 /*
@@ -57,8 +57,8 @@  discard block
 block discarded – undo
57 57
         $html = [];
58 58
         if (!empty($allowedHtml) || !empty($disallowedHtml)) {
59 59
             $html[] = '<div class="help-block">';
60
-            $html[] =   implode(LF, $allowedHtml);
61
-            $html[] =   implode(LF, $disallowedHtml);
60
+            $html[] = implode(LF, $allowedHtml);
61
+            $html[] = implode(LF, $disallowedHtml);
62 62
             $html[] = '</div>';
63 63
         }
64 64
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FieldWizard/OtherLanguageContent.php 1 patch
Spacing   +5 added lines, -5 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,8 +69,8 @@  discard block
 block discarded – undo
69 69
         );
70 70
         if ($defaultLanguageValue !== '') {
71 71
             $html[] = '<div class="t3-form-original-language">';
72
-            $html[] =   $iconFactory->getIcon($this->data['systemLanguageRows'][0]['flagIconIdentifier'], Icon::SIZE_SMALL)->render();
73
-            $html[] =   $this->previewFieldValue($defaultLanguageValue, $fieldConfig, $fieldName);
72
+            $html[] = $iconFactory->getIcon($this->data['systemLanguageRows'][0]['flagIconIdentifier'], Icon::SIZE_SMALL)->render();
73
+            $html[] = $this->previewFieldValue($defaultLanguageValue, $fieldConfig, $fieldName);
74 74
             $html[] = '</div>';
75 75
         }
76 76
         $additionalPreviewLanguages = $this->data['additionalLanguageRows'];
@@ -84,8 +84,8 @@  discard block
 block discarded – undo
84 84
             );
85 85
             if ($defaultLanguageValue !== '') {
86 86
                 $html[] = '<div class="t3-form-original-language">';
87
-                $html[] =   $iconFactory->getIcon($this->data['systemLanguageRows'][$previewLanguage['sys_language_uid']]['flagIconIdentifier'], Icon::SIZE_SMALL)->render();
88
-                $html[] =   $this->previewFieldValue($defaultLanguageValue, $fieldConfig, $fieldName);
87
+                $html[] = $iconFactory->getIcon($this->data['systemLanguageRows'][$previewLanguage['sys_language_uid']]['flagIconIdentifier'], Icon::SIZE_SMALL)->render();
88
+                $html[] = $this->previewFieldValue($defaultLanguageValue, $fieldConfig, $fieldName);
89 89
                 $html[] = '</div>';
90 90
             }
91 91
         }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FieldWizard/FileUpload.php 1 patch
Spacing   +9 added lines, -9 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
 /*
@@ -67,15 +67,15 @@  discard block
 block discarded – undo
67 67
             $multipleFilenameSuffix = '[]';
68 68
         }
69 69
 
70
-        $html= [];
70
+        $html = [];
71 71
         $html[] = '<div id="' . $uploadFieldId . '">';
72
-        $html[] =   '<input';
73
-        $html[] =       ' type="file"';
74
-        $html[] =       $selectorMultipleAttribute;
75
-        $html[] =       ' name="data_files' . $this->data['elementBaseName'] . $multipleFilenameSuffix . '"';
76
-        $html[] =       ' size="35"';
77
-        $html[] =       ' onchange="' . implode('', $parameterArray['fieldChangeFunc']) . '"';
78
-        $html[] =   '/>';
72
+        $html[] = '<input';
73
+        $html[] = ' type="file"';
74
+        $html[] = $selectorMultipleAttribute;
75
+        $html[] = ' name="data_files' . $this->data['elementBaseName'] . $multipleFilenameSuffix . '"';
76
+        $html[] = ' size="35"';
77
+        $html[] = ' onchange="' . implode('', $parameterArray['fieldChangeFunc']) . '"';
78
+        $html[] = '/>';
79 79
         $html[] = '</div>';
80 80
 
81 81
         $result['html'] = implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FieldWizard/FileThumbnails.php 1 patch
Spacing   +5 added lines, -5 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
 /*
@@ -67,9 +67,9 @@  discard block
 block discarded – undo
67 67
                     )
68 68
                     ) {
69 69
                         $thumbnailsHtml[] = '<li>';
70
-                        $thumbnailsHtml[] =     '<span class="thumbnail">';
71
-                        $thumbnailsHtml[] =         $fileObject->process(ProcessedFile::CONTEXT_IMAGEPREVIEW, [])->getPublicUrl(true);
72
-                        $thumbnailsHtml[] =     '</span>';
70
+                        $thumbnailsHtml[] = '<span class="thumbnail">';
71
+                        $thumbnailsHtml[] = $fileObject->process(ProcessedFile::CONTEXT_IMAGEPREVIEW, [])->getPublicUrl(true);
72
+                        $thumbnailsHtml[] = '</span>';
73 73
                         $thumbnailsHtml[] = '</li>';
74 74
                     }
75 75
                 }
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
         $html = [];
114 114
         if (!empty($thumbnailsHtml)) {
115 115
             $html[] = '<ul class="list-inline">';
116
-            $html[] =   implode(LF, $thumbnailsHtml);
116
+            $html[] = implode(LF, $thumbnailsHtml);
117 117
             $html[] = '</ul>';
118 118
         }
119 119
 
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.
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaText.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\Backend\Form\FormDataProvider;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FormDataProvider/SiteTcaInline.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
 
4 4
 namespace TYPO3\CMS\Backend\Form\FormDataProvider;
5 5
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FieldControl/InsertClipboard.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\Backend\Form\FieldControl;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.