Passed
Push — master ( 4a584a...c1d429 )
by
unknown
17:40
created
typo3/sysext/core/Classes/Context/Context.php 1 patch
Switch Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -78,16 +78,16 @@  discard block
 block discarded – undo
78 78
     {
79 79
         switch ($name) {
80 80
         // Ensure the default aspects are available, this is mostly necessary for tests to not set up everything
81
-        case 'date':
82
-        case 'visibility':
83
-        case 'backend.user':
84
-        case 'frontend.user':
85
-        case 'workspace':
86
-        case 'language':
87
-        case 'typoscript':
88
-            return true;
89
-        default:
90
-            return isset($this->aspects[$name]);
81
+            case 'date':
82
+            case 'visibility':
83
+            case 'backend.user':
84
+            case 'frontend.user':
85
+            case 'workspace':
86
+            case 'language':
87
+            case 'typoscript':
88
+                return true;
89
+            default:
90
+                return isset($this->aspects[$name]);
91 91
         }
92 92
     }
93 93
 
@@ -103,29 +103,29 @@  discard block
 block discarded – undo
103 103
         if (!isset($this->aspects[$name])) {
104 104
             // Ensure the default aspects are available, this is mostly necessary for tests to not set up everything
105 105
             switch ($name) {
106
-            case 'date':
107
-                $this->setAspect('date', new DateTimeAspect(new \DateTimeImmutable('@' . $GLOBALS['EXEC_TIME'])));
108
-                break;
109
-            case 'visibility':
110
-                $this->setAspect('visibility', new VisibilityAspect());
111
-                break;
112
-            case 'backend.user':
113
-                $this->setAspect('backend.user', new UserAspect());
114
-                break;
115
-            case 'frontend.user':
116
-                $this->setAspect('frontend.user', new UserAspect());
117
-                break;
118
-            case 'workspace':
119
-                $this->setAspect('workspace', new WorkspaceAspect());
120
-                break;
121
-            case 'language':
122
-                $this->setAspect('language', new LanguageAspect());
123
-                break;
124
-            case 'typoscript':
125
-                $this->setAspect('typoscript', new TypoScriptAspect());
126
-                break;
127
-            default:
128
-                throw new AspectNotFoundException('No aspect named "' . $name . '" found.', 1527777641);
106
+                case 'date':
107
+                    $this->setAspect('date', new DateTimeAspect(new \DateTimeImmutable('@' . $GLOBALS['EXEC_TIME'])));
108
+                    break;
109
+                case 'visibility':
110
+                    $this->setAspect('visibility', new VisibilityAspect());
111
+                    break;
112
+                case 'backend.user':
113
+                    $this->setAspect('backend.user', new UserAspect());
114
+                    break;
115
+                case 'frontend.user':
116
+                    $this->setAspect('frontend.user', new UserAspect());
117
+                    break;
118
+                case 'workspace':
119
+                    $this->setAspect('workspace', new WorkspaceAspect());
120
+                    break;
121
+                case 'language':
122
+                    $this->setAspect('language', new LanguageAspect());
123
+                    break;
124
+                case 'typoscript':
125
+                    $this->setAspect('typoscript', new TypoScriptAspect());
126
+                    break;
127
+                default:
128
+                    throw new AspectNotFoundException('No aspect named "' . $name . '" found.', 1527777641);
129 129
             }
130 130
         }
131 131
         return $this->aspects[$name];
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/TypoScript/Parser/ConstantConfigurationParser.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -259,7 +259,7 @@
 block discarded – undo
259 259
                                     $editableComments[$const]['subcat_name'] = $catSplit[1];
260 260
                                     $orderIdentifier = isset($catSplit[2]) ? trim($catSplit[2]) : $counter;
261 261
                                     $editableComments[$const]['subcat'] = $this->subCategories[$catSplit[1]][1]
262
-                                                                          . '/' . $catSplit[1] . '/' . $orderIdentifier . 'z';
262
+                                                                            . '/' . $catSplit[1] . '/' . $orderIdentifier . 'z';
263 263
                                 } elseif (isset($catSplit[2])) {
264 264
                                     $editableComments[$const]['subcat'] = 'x/' . trim($catSplit[2]) . 'z';
265 265
                                 } else {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
             // Sort configurations of each subcategory
77 77
             foreach ($hierarchicConfiguration as &$catConfigurationArray) {
78 78
                 foreach ($catConfigurationArray as &$subcatConfigurationArray) {
79
-                    uasort($subcatConfigurationArray, function ($a, $b) {
79
+                    uasort($subcatConfigurationArray, function($a, $b) {
80 80
                         return strnatcmp($a['subcat'], $b['subcat']);
81 81
                     });
82 82
                 }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/History/RecordHistory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -334,7 +334,7 @@
 block discarded – undo
334 334
                 }
335 335
             }
336 336
         }
337
-        usort($historyDataForRecord, static function (array $a, array $b): int {
337
+        usort($historyDataForRecord, static function(array $a, array $b): int {
338 338
             if ($a['tstamp'] < $b['tstamp']) {
339 339
                 return 1;
340 340
             }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1018,7 +1018,7 @@
 block discarded – undo
1018 1018
             $this->writeLog(SystemLogFileAction::EDIT, SystemLogErrorClassification::USER_ERROR, 100, 'File "%s" was not saved! Write-permission problem?', [$fileObject->getIdentifier()]);
1019 1019
             $this->addMessageToFlashMessageQueue('FileUtility.FileWasNotSaved', [$fileObject->getIdentifier()]);
1020 1020
             return false;
1021
-        } catch (IllegalFileExtensionException|\RuntimeException $e) {
1021
+        } catch (IllegalFileExtensionException | \RuntimeException $e) {
1022 1022
             $this->writeLog(SystemLogFileAction::EDIT, SystemLogErrorClassification::USER_ERROR, 100, 'File "%s" was not saved! File extension rejected!', [$fileObject->getIdentifier()]);
1023 1023
             $this->addMessageToFlashMessageQueue('FileUtility.FileWasNotSaved', [$fileObject->getIdentifier()]);
1024 1024
             return false;
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.