Passed
Push — master ( 46678d...7005ba )
by
unknown
16:43
created
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.