Passed
Push — master ( ce24ce...5932bd )
by
unknown
13:39
created
typo3/sysext/core/Classes/Imaging/ImageDimension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
                 (int)$processedFile->getOriginalFile()->getProperty('height')
73 73
             );
74 74
         }
75
-        if ($imageDimension->width <=0 || $imageDimension->height <=0) {
75
+        if ($imageDimension->width <= 0 || $imageDimension->height <= 0) {
76 76
             throw new \BadMethodCallException('Width and height of the image must be greater than zero', 1597310560);
77 77
         }
78 78
         $result = GeneralUtility::makeInstance(GraphicalFunctions::class)->getImageScale(
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Configuration/BackendConfigurationManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -266,7 +266,7 @@
 block discarded – undo
266 266
             $startPid = abs($startPid);
267 267
             $recursiveStoragePids = array_merge(
268 268
                 $recursiveStoragePids,
269
-                [ $startPid ],
269
+                [$startPid],
270 270
                 $this->getPageChildrenRecursive($startPid, $recursionDepth, 0, $permsClause)
271 271
             );
272 272
         }
Please login to merge, or discard this patch.
typo3/sysext/workspaces/Classes/Service/WorkspaceService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -527,7 +527,7 @@  discard block
 block discarded – undo
527 527
         );
528 528
         if ($pageId > 0) {
529 529
             $pageList = array_merge(
530
-                [ (int)$pageId ],
530
+                [(int)$pageId],
531 531
                 $this->getPageChildrenRecursive((int)$pageId, (int)$recursionLevel, 0, $permsClause)
532 532
             );
533 533
         } else {
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
             foreach ($mountPoints as $mountPoint) {
541 541
                 $pageList = array_merge(
542 542
                     $pageList
543
-                    [ (int)$mountPoint ],
543
+                    [(int)$mountPoint],
544 544
                     $this->getPageChildrenRecursive((int)$mountPoint, (int)$recursionLevel, 0, $permsClause)
545 545
                 );
546 546
             }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Resource/Processing/LocalPreviewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 
52 52
         return array_filter(
53 53
             $configuration,
54
-            function ($value, $name) {
54
+            function($value, $name) {
55 55
                 return !empty($value) && in_array($name, ['width', 'height'], true);
56 56
             },
57 57
             ARRAY_FILTER_USE_BOTH
Please login to merge, or discard this patch.
typo3/sysext/viewpage/Classes/Controller/ViewModuleController.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,6 @@
 block discarded – undo
88 88
 
89 89
     /**
90 90
      * Register the doc header
91
-
92 91
      * @param int $pageId
93 92
      * @param int $languageId
94 93
      * @param string $targetUrl
Please login to merge, or discard this patch.
typo3/sysext/extensionmanager/Classes/Controller/ActionController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
                     $this->redirect('unresolvedDependencies', 'List', null, ['extensionKey' => $extensionKey]);
111 111
                 }
112 112
             }
113
-        } catch (ExtensionManagerException|PackageStatesFileNotWritableException $e) {
113
+        } catch (ExtensionManagerException | PackageStatesFileNotWritableException $e) {
114 114
             $this->addFlashMessage($e->getMessage(), '', FlashMessage::ERROR);
115 115
         }
116 116
         $this->redirect('index', 'List', null, [
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
                     ]
157 157
                 ) ?? ''
158 158
             );
159
-        } catch (ExtensionManagerException|Exception $e) {
159
+        } catch (ExtensionManagerException | Exception $e) {
160 160
             $this->addFlashMessage($e->getMessage(), '', FlashMessage::ERROR);
161 161
         }
162 162
 
Please login to merge, or discard this patch.
typo3/sysext/install/Classes/Service/EnableFileService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
     {
191 191
         $files = scandir(Environment::getPublicPath() . '/');
192 192
         $files = is_array($files) ? $files : [];
193
-        $files = array_filter($files, function ($file) {
193
+        $files = array_filter($files, function($file) {
194 194
             return @is_file(Environment::getPublicPath() . '/' . $file) && preg_match('~^' . self::FIRST_INSTALL_FILE_PATH . '.*~i', $file);
195 195
         });
196 196
         return $files;
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Container/FlexFormElementContainer.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -146,15 +146,15 @@
 block discarded – undo
146 146
                     $processedTitle = str_replace('\\n', '<br />', htmlspecialchars($fakeParameterArray['fieldConf']['label']));
147 147
                     $html = [];
148 148
                     $html[] = '<div class="form-section">';
149
-                    $html[] =   '<div class="form-group t3js-formengine-palette-field t3js-formengine-validation-marker">';
150
-                    $html[] =       '<label class="t3js-formengine-label">';
151
-                    $html[] =           BackendUtility::wrapInHelp($parameterArray['_cshKey'], $flexFormFieldName, $processedTitle);
152
-                    $html[] =           $showFieldName ? ('<code>[' . htmlspecialchars($flexFormFieldName) . ']</code>') : '';
153
-                    $html[] =       '</label>';
154
-                    $html[] =       '<div class="formengine-field-item t3js-formengine-field-item">';
155
-                    $html[] =           $childResult['html'];
156
-                    $html[] =       '</div>';
157
-                    $html[] =   '</div>';
149
+                    $html[] = '<div class="form-group t3js-formengine-palette-field t3js-formengine-validation-marker">';
150
+                    $html[] = '<label class="t3js-formengine-label">';
151
+                    $html[] = BackendUtility::wrapInHelp($parameterArray['_cshKey'], $flexFormFieldName, $processedTitle);
152
+                    $html[] = $showFieldName ? ('<code>[' . htmlspecialchars($flexFormFieldName) . ']</code>') : '';
153
+                    $html[] = '</label>';
154
+                    $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
155
+                    $html[] = $childResult['html'];
156
+                    $html[] = '</div>';
157
+                    $html[] = '</div>';
158 158
                     $html[] = '</div>';
159 159
                     $resultArray['html'] .= implode(LF, $html);
160 160
                     $resultArray = $this->mergeChildReturnIntoExistingResult($resultArray, $childResult, false);
Please login to merge, or discard this patch.
typo3/sysext/dashboard/Classes/Widgets/CtaWidget.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
     ) {
62 62
         $this->configuration = $configuration;
63 63
         $this->view = $view;
64
-        $this->options =  array_merge(['text' => ''], $options);
64
+        $this->options = array_merge(['text' => ''], $options);
65 65
         $this->buttonProvider = $buttonProvider;
66 66
     }
67 67
 
Please login to merge, or discard this patch.