Passed
Push — master ( 0c13ea...54f68d )
by
unknown
12:56
created
typo3/sysext/backend/Classes/Form/Element/SelectSingleBoxElement.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -125,25 +125,25 @@  discard block
 block discarded – undo
125 125
         $html = [];
126 126
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
127 127
         $html[] = $fieldInformationHtml;
128
-        $html[] =   '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
129
-        $html[] =       '<div class="form-wizards-wrap form-wizards-aside">';
130
-        $html[] =           '<div class="form-wizards-element">';
128
+        $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
129
+        $html[] = '<div class="form-wizards-wrap form-wizards-aside">';
130
+        $html[] = '<div class="form-wizards-element">';
131 131
         if (!$disabled) {
132 132
             // Add an empty hidden field which will send a blank value if all items are unselected.
133
-            $html[] =           '<input type="hidden" name="' . htmlspecialchars($parameterArray['itemFormElName']) . '" value="">';
133
+            $html[] = '<input type="hidden" name="' . htmlspecialchars($parameterArray['itemFormElName']) . '" value="">';
134 134
         }
135
-        $html[] =               $selectElement;
136
-        $html[] =           '</div>';
135
+        $html[] = $selectElement;
136
+        $html[] = '</div>';
137 137
         if (!$disabled) {
138 138
             if (!empty($fieldControlHtml)) {
139
-                $html[] =       '<div class="form-wizards-items-aside">';
140
-                $html[] =           $fieldControlHtml;
141
-                $html[] =       '</div>';
139
+                $html[] = '<div class="form-wizards-items-aside">';
140
+                $html[] = $fieldControlHtml;
141
+                $html[] = '</div>';
142 142
             }
143 143
             $html[] = '</div>'; // Close form-wizards-aside
144
-            $html[] =   '<p>';
145
-            $html[] =       '<em>' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.holdDownCTRL')) . '</em>';
146
-            $html[] =   '</p>';
144
+            $html[] = '<p>';
145
+            $html[] = '<em>' . htmlspecialchars($languageService->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.holdDownCTRL')) . '</em>';
146
+            $html[] = '</p>';
147 147
             if (!empty($fieldWizardHtml)) {
148 148
                 $html[] = '<div class="form-wizards-items-bottom">';
149 149
                 $html[] = $fieldWizardHtml;
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
         } else {
153 153
             $html[] = '</div>'; // Close form-wizards-aside
154 154
         }
155
-        $html[] =   '</div>';
155
+        $html[] = '</div>';
156 156
         $html[] = '</div>';
157 157
 
158 158
         $resultArray['html'] = implode(LF, $html);
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
 
199 199
         $html = [];
200 200
         $html[] = '<select ' . GeneralUtility::implodeAttributes($attributes, true) . '>';
201
-        $html[] =   implode(LF, $optionElements);
201
+        $html[] = implode(LF, $optionElements);
202 202
         $html[] = '</select>';
203 203
 
204 204
         return implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Resource/Security/SvgTypeCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     protected function resolveFileExtensions(): array
66 66
     {
67 67
         $fileExtensions = array_map(
68
-            function (string $mimeType): array {
68
+            function(string $mimeType): array {
69 69
                 return $this->mimeTypeDetector->getFileExtensionsForMimeType($mimeType);
70 70
             },
71 71
             self::MIME_TYPES
Please login to merge, or discard this patch.
typo3/sysext/install/Classes/Updates/SvgFilesSanitization.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
     {
150 150
         return array_filter(
151 151
             $this->storageRepository->findByStorageType('Local'),
152
-            function (ResourceStorage $storage) {
152
+            function(ResourceStorage $storage) {
153 153
                 return $storage->isWritable();
154 154
             }
155 155
         );
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Controller/EditDocumentController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -534,7 +534,7 @@  discard block
 block discarded – undo
534 534
         // Processing related GET / POST vars
535 535
         $this->data = $parsedBody['data'] ?? [];
536 536
         $this->cmd = $parsedBody['cmd'] ?? [];
537
-        $this->mirror = $parsedBody['mirror']  ?? [];
537
+        $this->mirror = $parsedBody['mirror'] ?? [];
538 538
         $this->returnNewPageId = (bool)($parsedBody['returnNewPageId'] ?? false);
539 539
 
540 540
         // Only options related to $this->data submission are included here
@@ -1049,7 +1049,7 @@  discard block
 block discarded – undo
1049 1049
             $fileUid = (int)(BackendUtility::getRecord('sys_file_metadata', (int)$this->firstEl['uid'], 'file')['file'] ?? 0);
1050 1050
             try {
1051 1051
                 $file = GeneralUtility::makeInstance(ResourceFactory::class)->getFileObject($fileUid);
1052
-            } catch (FileDoesNotExistException|InsufficientUserPermissionsException $e) {
1052
+            } catch (FileDoesNotExistException | InsufficientUserPermissionsException $e) {
1053 1053
                 // do nothing when file is not accessible
1054 1054
             }
1055 1055
         }
@@ -2292,7 +2292,7 @@  discard block
 block discarded – undo
2292 2292
         // Fetch the current translations of this page, to only show the ones where there is a page translation
2293 2293
         $allLanguages = array_filter(
2294 2294
             GeneralUtility::makeInstance(TranslationConfigurationProvider::class)->getSystemLanguages($pageId),
2295
-            static fn ($language) => (int)$language['uid'] !== -1
2295
+            static fn($language) => (int)$language['uid'] !== -1
2296 2296
         );
2297 2297
         if ($table !== 'pages' && $id > 0) {
2298 2298
             $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable('pages');
@@ -2427,7 +2427,7 @@  discard block
 block discarded – undo
2427 2427
         $queryParams = $request->getQueryParams();
2428 2428
         $parsedBody = $request->getParsedBody();
2429 2429
 
2430
-        foreach (['edit', 'defVals', 'overrideVals' , 'columnsOnly' , 'noView'] as $key) {
2430
+        foreach (['edit', 'defVals', 'overrideVals', 'columnsOnly', 'noView'] as $key) {
2431 2431
             if (isset($this->R_URL_getvars[$key])) {
2432 2432
                 $this->storeArray[$key] = $this->R_URL_getvars[$key];
2433 2433
             } else {
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Template/Components/MetaInformation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
             try {
69 69
                 $title = $this->resource->getStorage()->getName();
70 70
                 $title .= $this->resource->getParentFolder()->getReadablePath();
71
-            } catch (ResourceDoesNotExistException|InsufficientFolderAccessPermissionsException $e) {
71
+            } catch (ResourceDoesNotExistException | InsufficientFolderAccessPermissionsException $e) {
72 72
             }
73 73
         } elseif (is_array($pageRecord) && !empty($pageRecord['uid'])) {
74 74
             // Is this a real page
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
                 if (method_exists($this->resource, 'getCombinedIdentifier')) {
220 220
                     $theIcon = BackendUtility::wrapClickMenuOnIcon($theIcon, $tableName, $this->resource->getCombinedIdentifier());
221 221
                 }
222
-            } catch (ResourceDoesNotExistException|InsufficientFolderAccessPermissionsException $e) {
222
+            } catch (ResourceDoesNotExistException | InsufficientFolderAccessPermissionsException $e) {
223 223
                 $theIcon = '';
224 224
             }
225 225
         } elseif (is_array($pageRecord) && !empty($pageRecord['uid'])) {
Please login to merge, or discard this patch.