Passed
Push — master ( f10d07...34df0f )
by
unknown
20:51 queued 06:39
created
typo3/sysext/recordlist/Classes/Browser/AbstractElementBrowser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
      */
145 145
     protected function getBParamDataAttributes()
146 146
     {
147
-        [$fieldRef, $rteParams, $rteConfig, , $irreObjectId] = explode('|', $this->bparams);
147
+        [$fieldRef, $rteParams, $rteConfig,, $irreObjectId] = explode('|', $this->bparams);
148 148
 
149 149
         return [
150 150
             'data-this-script-url' => strpos($this->thisScript, '?') === false ? $this->thisScript . '?' : $this->thisScript . '&',
Please login to merge, or discard this patch.
typo3/sysext/impexp/Classes/Import.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1208,7 +1208,7 @@
 block discarded – undo
1208 1208
     public function remapListedDBRecords_flexFormCallBack($pParams, $dsConf, $dataValue, $dataValue_ext1, $dataValue_ext2, $path)
1209 1209
     {
1210 1210
         // Extract parameters:
1211
-        [, , , $config] = $pParams;
1211
+        [,,, $config] = $pParams;
1212 1212
         // In case the $path is used as index without a trailing slash we will remove that
1213 1213
         if (!is_array($config['flexFormRels']['db'][$path]) && is_array($config['flexFormRels']['db'][rtrim($path, '/')])) {
1214 1214
             $path = rtrim($path, '/');
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/View/PageLayoutView.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1193,7 +1193,7 @@
 block discarded – undo
1193 1193
                         ) {
1194 1194
                             if (!$hideRestrictedCols) {
1195 1195
                                 $grid .= $this->tt_content_drawColHeader($this->getLanguageService()->sL($columnConfig['name']) .
1196
-                                  ' (' . $this->getLanguageService()->getLL('noAccess') . ')');
1196
+                                    ' (' . $this->getLanguageService()->getLL('noAccess') . ')');
1197 1197
                                 $grid .= $this->dispatchSectionMarkupGeneratedEvent('before', $lP, $columnConfig);
1198 1198
                             }
1199 1199
                         } elseif (isset($columnConfig['name']) && $columnConfig['name'] !== '') {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -738,7 +738,7 @@
 block discarded – undo
738 738
                 }
739 739
 
740 740
                 $defaultLanguageElements = [];
741
-                array_walk($defaultLanguageElementsByColumn, function (array $columnContent) use (&$defaultLanguageElements) {
741
+                array_walk($defaultLanguageElementsByColumn, function(array $columnContent) use (&$defaultLanguageElements) {
742 742
                     $defaultLanguageElements = array_merge($defaultLanguageElements, $columnContent);
743 743
                 });
744 744
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Template/Components/Buttons/SplitButton.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@
 block discarded – undo
185 185
                 foreach ($optionAttributes as $key => $value) {
186 186
                     $optionAttributesString .= ' ' . htmlspecialchars($key) . '="' . htmlspecialchars($value) . '"';
187 187
                 }
188
-                $html =  '<a' . $optionAttributesString . '>' . $option->getIcon()->render('inline') . ' '
188
+                $html = '<a' . $optionAttributesString . '>' . $option->getIcon()->render('inline') . ' '
189 189
                     . htmlspecialchars($option->getTitle()) . '</a>';
190 190
             } else {
191 191
                 // for any other kind of button we simply use what comes along (e.g. LinkButton)
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/SelectSingleElement.php 1 patch
Spacing   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -56,11 +56,11 @@  discard block
 block discarded – undo
56 56
         ],
57 57
         'otherLanguageContent' => [
58 58
             'renderType' => 'otherLanguageContent',
59
-            'after' => [ 'localizationStateSelector' ],
59
+            'after' => ['localizationStateSelector'],
60 60
         ],
61 61
         'defaultLanguageDifferences' => [
62 62
             'renderType' => 'defaultLanguageDifferences',
63
-            'after' => [ 'otherLanguageContent' ],
63
+            'after' => ['otherLanguageContent'],
64 64
         ],
65 65
     ];
66 66
 
@@ -216,36 +216,36 @@  discard block
 block discarded – undo
216 216
         $html = [];
217 217
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
218 218
         $html[] = $fieldInformationHtml;
219
-        $html[] =   '<div class="form-control-wrap">';
220
-        $html[] =       '<div class="form-wizards-wrap">';
221
-        $html[] =           '<div class="form-wizards-element">';
219
+        $html[] = '<div class="form-control-wrap">';
220
+        $html[] = '<div class="form-wizards-wrap">';
221
+        $html[] = '<div class="form-wizards-element">';
222 222
         if ($hasIcons) {
223
-            $html[] =           '<div class="input-group">';
224
-            $html[] =               '<span class="input-group-addon input-group-icon">';
225
-            $html[] =                   $selectedIcon;
226
-            $html[] =               '</span>';
223
+            $html[] = '<div class="input-group">';
224
+            $html[] = '<span class="input-group-addon input-group-icon">';
225
+            $html[] = $selectedIcon;
226
+            $html[] = '</span>';
227 227
         }
228
-        $html[] =                   '<select ' . GeneralUtility::implodeAttributes($selectAttributes, true) . '>';
229
-        $html[] =                       $options;
230
-        $html[] =                   '</select>';
228
+        $html[] = '<select ' . GeneralUtility::implodeAttributes($selectAttributes, true) . '>';
229
+        $html[] = $options;
230
+        $html[] = '</select>';
231 231
         if ($hasIcons) {
232
-            $html[] =           '</div>';
232
+            $html[] = '</div>';
233 233
         }
234
-        $html[] =           '</div>';
234
+        $html[] = '</div>';
235 235
         if (!$disabled && !empty($fieldControlHtml)) {
236
-            $html[] =      '<div class="form-wizards-items-aside">';
237
-            $html[] =          '<div class="btn-group">';
238
-            $html[] =              $fieldControlHtml;
239
-            $html[] =          '</div>';
240
-            $html[] =      '</div>';
236
+            $html[] = '<div class="form-wizards-items-aside">';
237
+            $html[] = '<div class="btn-group">';
238
+            $html[] = $fieldControlHtml;
239
+            $html[] = '</div>';
240
+            $html[] = '</div>';
241 241
         }
242 242
         if (!$disabled && !empty($fieldWizardHtml)) {
243
-            $html[] =       '<div class="form-wizards-items-bottom">';
244
-            $html[] =           $fieldWizardHtml;
245
-            $html[] =       '</div>';
243
+            $html[] = '<div class="form-wizards-items-bottom">';
244
+            $html[] = $fieldWizardHtml;
245
+            $html[] = '</div>';
246 246
         }
247
-        $html[] =       '</div>';
248
-        $html[] =   '</div>';
247
+        $html[] = '</div>';
248
+        $html[] = '</div>';
249 249
         $html[] = '</div>';
250 250
 
251 251
         $resultArray['requireJsModules'][] = ['TYPO3/CMS/Backend/FormEngine/Element/SelectSingleElement' => implode(LF, [
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Template/Components/MetaInformation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
                 $resourceObject = GeneralUtility::makeInstance(ResourceFactory::class)->getObjectFromCombinedIdentifier($pageRecord['combined_identifier']);
70 70
                 $title = $resourceObject->getStorage()->getName() . ':';
71 71
                 $title .= $resourceObject->getParentFolder()->getReadablePath();
72
-            } catch (ResourceDoesNotExistException|InsufficientFolderAccessPermissionsException $e) {
72
+            } catch (ResourceDoesNotExistException | InsufficientFolderAccessPermissionsException $e) {
73 73
             }
74 74
         }
75 75
         // Setting the path of the page
Please login to merge, or discard this patch.
typo3/sysext/recordlist/Classes/Browser/DatabaseBrowser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         $userTsConfig = $this->getBackendUser()->getTSConfig();
77 77
 
78 78
         $this->setTemporaryDbMounts();
79
-        [, , , $allowedTables] = explode('|', $this->bparams);
79
+        [,,, $allowedTables] = explode('|', $this->bparams);
80 80
 
81 81
         $pageTree = GeneralUtility::makeInstance(ElementBrowserPageTreeView::class);
82 82
         $pageTree->setLinkParameterProvider($this);
Please login to merge, or discard this patch.
typo3/sysext/filelist/Classes/FileList.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
                 $theData[$v] = htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels._REF_'));
338 338
             } else {
339 339
                 // Normal row
340
-                $theData[$v]  = $this->linkWrapSort($this->folderObject->getCombinedIdentifier(), $v);
340
+                $theData[$v] = $this->linkWrapSort($this->folderObject->getCombinedIdentifier(), $v);
341 341
             }
342 342
         }
343 343
 
@@ -686,7 +686,7 @@  discard block
 block discarded – undo
686 686
     {
687 687
         // first two keys are "0" (default) and "-1" (multiple), after that comes the "other languages"
688 688
         $allSystemLanguages = $this->translateTools->getSystemLanguages();
689
-        return array_filter($allSystemLanguages, function ($languageRecord) {
689
+        return array_filter($allSystemLanguages, function($languageRecord) {
690 690
             if ($languageRecord['uid'] === -1 || $languageRecord['uid'] === 0 || !$this->getBackendUser()->checkLanguageAccess($languageRecord['uid'])) {
691 691
                 return false;
692 692
             }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Container/FlexFormSectionContainer.php 1 patch
Spacing   +39 added lines, -39 removed lines patch added patch discarded remove patch
@@ -78,22 +78,22 @@  discard block
 block discarded – undo
78 78
             }
79 79
             $containerTemplateHtml = [];
80 80
             $containerTemplateHtml[] = '<a';
81
-            $containerTemplateHtml[] =     'href="#"';
82
-            $containerTemplateHtml[] =     'class="btn btn-default t3js-flex-container-add"';
83
-            $containerTemplateHtml[] =     'data-vanillauid="' . (int)$this->data['vanillaUid'] . '"';
81
+            $containerTemplateHtml[] = 'href="#"';
82
+            $containerTemplateHtml[] = 'class="btn btn-default t3js-flex-container-add"';
83
+            $containerTemplateHtml[] = 'data-vanillauid="' . (int)$this->data['vanillaUid'] . '"';
84 84
             // no int cast for databaseRow uid, this can be "NEW1234..."
85
-            $containerTemplateHtml[] =     'data-databaserowuid="' . htmlspecialchars($this->data['databaseRow']['uid']) . '"';
86
-            $containerTemplateHtml[] =     'data-command="' . htmlspecialchars($this->data['command']) . '"';
87
-            $containerTemplateHtml[] =     'data-tablename="' . htmlspecialchars($this->data['tableName']) . '"';
88
-            $containerTemplateHtml[] =     'data-fieldname="' . htmlspecialchars($this->data['fieldName']) . '"';
89
-            $containerTemplateHtml[] =     'data-recordtypevalue="' . $this->data['recordTypeValue'] . '"';
90
-            $containerTemplateHtml[] =     'data-datastructureidentifier="' . htmlspecialchars($flexFormDataStructureIdentifier) . '"';
91
-            $containerTemplateHtml[] =     'data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"';
92
-            $containerTemplateHtml[] =     'data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"';
93
-            $containerTemplateHtml[] =     'data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"';
85
+            $containerTemplateHtml[] = 'data-databaserowuid="' . htmlspecialchars($this->data['databaseRow']['uid']) . '"';
86
+            $containerTemplateHtml[] = 'data-command="' . htmlspecialchars($this->data['command']) . '"';
87
+            $containerTemplateHtml[] = 'data-tablename="' . htmlspecialchars($this->data['tableName']) . '"';
88
+            $containerTemplateHtml[] = 'data-fieldname="' . htmlspecialchars($this->data['fieldName']) . '"';
89
+            $containerTemplateHtml[] = 'data-recordtypevalue="' . $this->data['recordTypeValue'] . '"';
90
+            $containerTemplateHtml[] = 'data-datastructureidentifier="' . htmlspecialchars($flexFormDataStructureIdentifier) . '"';
91
+            $containerTemplateHtml[] = 'data-flexformsheetname="' . htmlspecialchars($flexFormSheetName) . '"';
92
+            $containerTemplateHtml[] = 'data-flexformfieldname="' . htmlspecialchars($flexFormFieldName) . '"';
93
+            $containerTemplateHtml[] = 'data-flexformcontainername="' . htmlspecialchars($flexFormContainerName) . '"';
94 94
             $containerTemplateHtml[] = '>';
95
-            $containerTemplateHtml[] =    $iconFactory->getIcon('actions-document-new', Icon::SIZE_SMALL)->render();
96
-            $containerTemplateHtml[] =    htmlspecialchars(GeneralUtility::fixed_lgd_cs($containerTitle, 30));
95
+            $containerTemplateHtml[] = $iconFactory->getIcon('actions-document-new', Icon::SIZE_SMALL)->render();
96
+            $containerTemplateHtml[] = htmlspecialchars(GeneralUtility::fixed_lgd_cs($containerTitle, 30));
97 97
             $containerTemplateHtml[] = '</a>';
98 98
             $containerTemplatesHtml[] = implode(LF, $containerTemplateHtml);
99 99
         }
@@ -101,9 +101,9 @@  discard block
 block discarded – undo
101 101
         $createElementsHtml = [];
102 102
         if ($userHasAccessToDefaultLanguage) {
103 103
             $createElementsHtml[] = '<div class="t3-form-field-add-flexsection">';
104
-            $createElementsHtml[] =    '<div class="btn-group">';
105
-            $createElementsHtml[] =        implode('', $containerTemplatesHtml);
106
-            $createElementsHtml[] =    '</div>';
104
+            $createElementsHtml[] = '<div class="btn-group">';
105
+            $createElementsHtml[] = implode('', $containerTemplatesHtml);
106
+            $createElementsHtml[] = '</div>';
107 107
             $createElementsHtml[] = '</div>';
108 108
         }
109 109
 
@@ -116,28 +116,28 @@  discard block
 block discarded – undo
116 116
         $toggleAll = htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.toggleall'));
117 117
         $html = [];
118 118
         $html[] = '<div class="panel panel-tab">';
119
-        $html[] =     '<div class="panel-body">';
120
-        $html[] =         '<div class="t3-form-field-container t3-form-flex">';
121
-        $html[] =             '<div class="t3-form-field-label-flexsection">';
122
-        $html[] =                 '<h4>';
123
-        $html[] =                     htmlspecialchars($sectionTitle);
124
-        $html[] =                 '</h4>';
125
-        $html[] =             '</div>';
126
-        $html[] =             '<div class="t3js-form-field-toggle-flexsection t3-form-flexsection-toggle">';
127
-        $html[] =                 '<a class="btn btn-default" href="#" title="' . $toggleAll . '">';
128
-        $html[] =                     $iconFactory->getIcon('actions-move-right', Icon::SIZE_SMALL)->render() . $toggleAll;
129
-        $html[] =                 '</a>';
130
-        $html[] =             '</div>';
131
-        $html[] =             '<div';
132
-        $html[] =                 'id="flexform-container-' . htmlspecialchars($flexFormFieldName) . '"';
133
-        $html[] =                 'class="panel-group panel-hover t3-form-field-container-flexsection t3-flex-container"';
134
-        $html[] =                 'data-t3-flex-allow-restructure="' . ($userHasAccessToDefaultLanguage ? '1' : '0') . '"';
135
-        $html[] =             '>';
136
-        $html[] =                 $resultArray['html'];
137
-        $html[] =             '</div>';
138
-        $html[] =             implode(LF, $createElementsHtml);
139
-        $html[] =         '</div>';
140
-        $html[] =     '</div>';
119
+        $html[] = '<div class="panel-body">';
120
+        $html[] = '<div class="t3-form-field-container t3-form-flex">';
121
+        $html[] = '<div class="t3-form-field-label-flexsection">';
122
+        $html[] = '<h4>';
123
+        $html[] = htmlspecialchars($sectionTitle);
124
+        $html[] = '</h4>';
125
+        $html[] = '</div>';
126
+        $html[] = '<div class="t3js-form-field-toggle-flexsection t3-form-flexsection-toggle">';
127
+        $html[] = '<a class="btn btn-default" href="#" title="' . $toggleAll . '">';
128
+        $html[] = $iconFactory->getIcon('actions-move-right', Icon::SIZE_SMALL)->render() . $toggleAll;
129
+        $html[] = '</a>';
130
+        $html[] = '</div>';
131
+        $html[] = '<div';
132
+        $html[] = 'id="flexform-container-' . htmlspecialchars($flexFormFieldName) . '"';
133
+        $html[] = 'class="panel-group panel-hover t3-form-field-container-flexsection t3-flex-container"';
134
+        $html[] = 'data-t3-flex-allow-restructure="' . ($userHasAccessToDefaultLanguage ? '1' : '0') . '"';
135
+        $html[] = '>';
136
+        $html[] = $resultArray['html'];
137
+        $html[] = '</div>';
138
+        $html[] = implode(LF, $createElementsHtml);
139
+        $html[] = '</div>';
140
+        $html[] = '</div>';
141 141
         $html[] = '</div>';
142 142
 
143 143
         $resultArray['html'] = implode(LF, $html);
Please login to merge, or discard this patch.