Passed
Push — master ( 49b5a4...bb9b14 )
by
unknown
16:01
created
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.
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] ?? false) && is_array($config['flexFormRels']['db'][rtrim($path, '/')] ?? false)) {
1214 1214
             $path = rtrim($path, '/');
Please login to merge, or discard this patch.