Passed
Push — master ( ce24ce...5932bd )
by
unknown
13:39
created
typo3/sysext/backend/Classes/Form/FieldWizard/OtherLanguageThumbnails.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 
73 73
             try {
74 74
                 $file = GeneralUtility::makeInstance(ResourceFactory::class)->getFileObject($fileUid);
75
-            } catch (FileDoesNotExistException|\InvalidArgumentException $e) {
75
+            } catch (FileDoesNotExistException | \InvalidArgumentException $e) {
76 76
                 continue;
77 77
             }
78 78
 
@@ -99,8 +99,8 @@  discard block
 block discarded – undo
99 99
             if ($processedImages !== []) {
100 100
                 $iconIdentifier = $this->data['systemLanguageRows'][(int)$sysLanguageUid]['flagIconIdentifier'] ?? 'flags-multiple';
101 101
                 $html[] = '<div class="t3-form-original-language">';
102
-                $html[] =   $iconFactory->getIcon($iconIdentifier, Icon::SIZE_SMALL)->render();
103
-                $html[] =   implode(LF, $processedImages);
102
+                $html[] = $iconFactory->getIcon($iconIdentifier, Icon::SIZE_SMALL)->render();
103
+                $html[] = implode(LF, $processedImages);
104 104
                 $html[] = '</div>';
105 105
             }
106 106
         }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Charset/CharsetConverter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -518,7 +518,7 @@
 block discarded – undo
518 518
         while (!feof($fh)) {
519 519
             $line = (string)fgets($fh, 4096);
520 520
             // Has a lot of info
521
-            [$char, $name, $cat, , , $decomp, , , $num] = explode(';', rtrim($line));
521
+            [$char, $name, $cat,,, $decomp,,, $num] = explode(';', rtrim($line));
522 522
             $ord = hexdec($char);
523 523
             if ($ord > 65535) {
524 524
                 // Only process the BMP
Please login to merge, or discard this patch.
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2146,7 +2146,7 @@
 block discarded – undo
2146 2146
         $tempCommaReplacementString = '###KASPER###';
2147 2147
 
2148 2148
         // replace every "," wrapped in "()" by a "unique" string
2149
-        $string = preg_replace_callback('/\((?>[^()]|(?R))*\)/', function ($result) use ($tempCommaReplacementString) {
2149
+        $string = preg_replace_callback('/\((?>[^()]|(?R))*\)/', function($result) use ($tempCommaReplacementString) {
2150 2150
             return str_replace(',', $tempCommaReplacementString, $result[0]);
2151 2151
         }, $string) ?? '';
2152 2152
 
Please login to merge, or discard this patch.
typo3/sysext/form/Classes/Domain/Finishers/EmailFinisher.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -243,8 +243,8 @@
 block discarded – undo
243 243
 
244 244
         $standaloneView->assign('form', $formRuntime);
245 245
         $standaloneView->getRenderingContext()
246
-                       ->getViewHelperVariableContainer()
247
-                       ->addOrUpdate(RenderRenderableViewHelper::class, 'formRuntime', $formRuntime);
246
+                        ->getViewHelperVariableContainer()
247
+                        ->addOrUpdate(RenderRenderableViewHelper::class, 'formRuntime', $formRuntime);
248 248
 
249 249
         return $standaloneView;
250 250
     }
Please login to merge, or discard this patch.
typo3/sysext/felogin/Classes/Redirect/RedirectHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
         }
159 159
 
160 160
         // Remove empty values, but keep "0" as value (that's why "strlen" is used as second parameter)
161
-        $redirectUrlList = array_filter($redirectUrlList, static function (string $value): bool {
161
+        $redirectUrlList = array_filter($redirectUrlList, static function(string $value): bool {
162 162
             return strlen($value) > 0;
163 163
         });
164 164
 
Please login to merge, or discard this patch.
sysext/dashboard/Classes/Widgets/Provider/SysLogErrorsDataProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
         for ($daysBefore = $this->days; $daysBefore >= 0; $daysBefore--) {
104 104
             $this->labels[] = date($format, (int)strtotime('-' . $daysBefore . ' day'));
105 105
             $startPeriod = (int)strtotime('-' . $daysBefore . ' day 0:00:00');
106
-            $endPeriod =  (int)strtotime('-' . $daysBefore . ' day 23:59:59');
106
+            $endPeriod = (int)strtotime('-' . $daysBefore . ' day 23:59:59');
107 107
 
108 108
             $this->data[] = $this->getNumberOfErrorsInPeriod($startPeriod, $endPeriod);
109 109
         }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Resource/ResourceStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2785,7 +2785,7 @@
 block discarded – undo
2785 2785
                         $this->processingFolder = $this->createFolderObject($data['identifier'], $data['name']);
2786 2786
                     }
2787 2787
                 }
2788
-            } catch (InsufficientFolderWritePermissionsException|ResourcePermissionsUnavailableException $e) {
2788
+            } catch (InsufficientFolderWritePermissionsException | ResourcePermissionsUnavailableException $e) {
2789 2789
                 $this->processingFolder = GeneralUtility::makeInstance(
2790 2790
                     InaccessibleFolder::class,
2791 2791
                     $this,
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/LinkHandling/FolderLinkHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
         $combinedIdentifier = ($data['storage'] ?? '0') . ':' . $data['identifier'];
69 69
         try {
70 70
             $folder = $this->getResourceFactory()->getFolderObjectFromCombinedIdentifier($combinedIdentifier);
71
-        } catch (FolderDoesNotExistException|InsufficientFolderAccessPermissionsException $e) {
71
+        } catch (FolderDoesNotExistException | InsufficientFolderAccessPermissionsException $e) {
72 72
             $folder = null;
73 73
         }
74 74
         return ['folder' => $folder];
Please login to merge, or discard this patch.
typo3/sysext/redirects/Classes/Repository/RedirectRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 
68 68
         $constraints = [];
69 69
         if ($demand->hasSourceHosts()) {
70
-            $constraints[] =$queryBuilder->expr()->in(
70
+            $constraints[] = $queryBuilder->expr()->in(
71 71
                 'source_host',
72 72
                 $queryBuilder->createNamedParameter($demand->getSourceHosts(), Connection::PARAM_STR_ARRAY)
73 73
             );
Please login to merge, or discard this patch.