Passed
Push — master ( 208bf9...74b704 )
by
unknown
14:05
created
typo3/sysext/backend/Classes/Form/Element/CheckboxElement.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -142,16 +142,16 @@
 block discarded – undo
142 142
         $html = [];
143 143
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
144 144
         $html[] = $fieldInformationHtml;
145
-        $html[] =   '<div class="form-wizards-wrap">';
146
-        $html[] =       '<div class="form-wizards-element">';
147
-        $html[] =           $elementHtml;
148
-        $html[] =       '</div>';
145
+        $html[] = '<div class="form-wizards-wrap">';
146
+        $html[] = '<div class="form-wizards-element">';
147
+        $html[] = $elementHtml;
148
+        $html[] = '</div>';
149 149
         if (!$disabled && !empty($fieldWizardHtml)) {
150
-            $html[] =   '<div class="form-wizards-items-bottom">';
151
-            $html[] =       $fieldWizardHtml;
152
-            $html[] =   '</div>';
150
+            $html[] = '<div class="form-wizards-items-bottom">';
151
+            $html[] = $fieldWizardHtml;
152
+            $html[] = '</div>';
153 153
         }
154
-        $html[] =   '</div>';
154
+        $html[] = '</div>';
155 155
         $html[] = '</div>';
156 156
 
157 157
         $resultArray['html'] = implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/CheckboxLabeledToggleElement.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -142,16 +142,16 @@
 block discarded – undo
142 142
         $html = [];
143 143
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
144 144
         $html[] = $fieldInformationHtml;
145
-        $html[] =   '<div class="form-wizards-wrap">';
146
-        $html[] =       '<div class="form-wizards-element">';
147
-        $html[] =           $elementHtml;
148
-        $html[] =       '</div>';
145
+        $html[] = '<div class="form-wizards-wrap">';
146
+        $html[] = '<div class="form-wizards-element">';
147
+        $html[] = $elementHtml;
148
+        $html[] = '</div>';
149 149
         if (!$disabled && !empty($fieldWizardHtml)) {
150
-            $html[] =   '<div class="form-wizards-items-bottom">';
151
-            $html[] =       $fieldWizardHtml;
152
-            $html[] =   '</div>';
150
+            $html[] = '<div class="form-wizards-items-bottom">';
151
+            $html[] = $fieldWizardHtml;
152
+            $html[] = '</div>';
153 153
         }
154
-        $html[] =   '</div>';
154
+        $html[] = '</div>';
155 155
         $html[] = '</div>';
156 156
 
157 157
         $resultArray['html'] = implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Configuration/AbstractConfigurationManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
                 // All implementations of getTreeList allow to pass the ids negative to include them into the result
190 190
                 // otherwise only childpages are returned
191 191
                 $storagePids = GeneralUtility::intExplode(',', $frameworkConfiguration['persistence']['storagePid']);
192
-                array_walk($storagePids, function (&$storagePid) {
192
+                array_walk($storagePids, function(&$storagePid) {
193 193
                     if ($storagePid > 0) {
194 194
                         $storagePid = -$storagePid;
195 195
                     }
Please login to merge, or discard this patch.
sysext/extbase/Classes/Validation/Validator/AbstractCompositeValidator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         // check for required options being set
62 62
         array_walk(
63 63
             $this->supportedOptions,
64
-            function ($supportedOptionData, $supportedOptionName, $options) {
64
+            function($supportedOptionData, $supportedOptionName, $options) {
65 65
                 if (isset($supportedOptionData[3]) && !array_key_exists($supportedOptionName, $options)) {
66 66
                     throw new InvalidValidationOptionsException('Required validation option not set: ' . $supportedOptionName, 1339163922);
67 67
                 }
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
         // merge with default values
73 73
         $this->options = array_merge(
74 74
             array_map(
75
-                function ($value) {
75
+                function($value) {
76 76
                     return $value[0];
77 77
                 },
78 78
                 $this->supportedOptions
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Log/LogManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
                     /** @var \TYPO3\CMS\Core\Log\Writer\WriterInterface $logWriter */
146 146
                     $logWriter = GeneralUtility::makeInstance($logWriterClassName, $logWriterOptions);
147 147
                     $logger->addWriter($severityLevel, $logWriter);
148
-                } catch (InvalidArgumentException|InvalidLogWriterConfigurationException $e) {
148
+                } catch (InvalidArgumentException | InvalidLogWriterConfigurationException $e) {
149 149
                     $logger->warning('Instantiation of LogWriter "' . $logWriterClassName . '" failed for logger ' . $logger->getName() . ' (' . $e->getMessage() . ')');
150 150
                 }
151 151
             }
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
                     /** @var \TYPO3\CMS\Core\Log\Processor\ProcessorInterface $logProcessor */
167 167
                     $logProcessor = GeneralUtility::makeInstance($logProcessorClassName, $logProcessorOptions);
168 168
                     $logger->addProcessor($severityLevel, $logProcessor);
169
-                } catch (InvalidArgumentException|InvalidLogProcessorConfigurationException $e) {
169
+                } catch (InvalidArgumentException | InvalidLogProcessorConfigurationException $e) {
170 170
                     $logger->warning('Instantiation of LogProcessor "' . $logProcessorClassName . '" failed for logger ' . $logger->getName() . ' (' . $e->getMessage() . ')');
171 171
                 }
172 172
             }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Resource/Service/UserFileMountService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     public function renderTceformsSelectDropdown(&$PA)
44 44
     {
45 45
         $allowedStorageIds = array_map(
46
-            function (ResourceStorage $storage) {
46
+            function(ResourceStorage $storage) {
47 47
                 return $storage->getUid();
48 48
             },
49 49
             $this->getBackendUserAuthentication()->getFileStorages()
Please login to merge, or discard this patch.
typo3/sysext/scheduler/Classes/Task/ExecuteSchedulableCommandTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
         try {
127 127
             $input = new ArrayInput($this->getParameters(true), $schedulableCommand->getDefinition());
128 128
             $arguments = $input->__toString();
129
-        } catch (\Symfony\Component\Console\Exception\RuntimeException|InvalidArgumentException $e) {
129
+        } catch (\Symfony\Component\Console\Exception\RuntimeException | InvalidArgumentException $e) {
130 130
             return $label . "\n"
131 131
                 . sprintf(
132 132
                     $this->getLanguageService()->sL('LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:msg.errorParsingArguments'),
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Configuration/Parser/PageTsConfigParser.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
                     $beforeSubstitution = $content;
104 104
                     $content = preg_replace_callback(
105 105
                         '/\\{\\$(.[^}]*)\\}/',
106
-                        function (array $matches) use ($siteSettings): string {
106
+                        function(array $matches) use ($siteSettings): string {
107 107
                             return isset($siteSettings[$matches[1]]) && !is_array($siteSettings[$matches[1]])
108 108
                                 ? (string)$siteSettings[$matches[1]] : $matches[0];
109 109
                         },
Please login to merge, or discard this patch.
ExpressionLanguage/FunctionsProvider/Typo3ConditionFunctionsProvider.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -49,9 +49,9 @@  discard block
 block discarded – undo
49 49
 
50 50
     protected function getLoginUserFunction(): ExpressionFunction
51 51
     {
52
-        return new ExpressionFunction('loginUser', function () {
52
+        return new ExpressionFunction('loginUser', function() {
53 53
             // Not implemented, we only use the evaluator
54
-        }, function ($arguments, $str) {
54
+        }, function($arguments, $str) {
55 55
             $user = $arguments['frontend']->user ?? $arguments['backend']->user;
56 56
             if ($user->isLoggedIn) {
57 57
                 foreach (GeneralUtility::trimExplode(',', $str, true) as $test) {
@@ -66,9 +66,9 @@  discard block
 block discarded – undo
66 66
 
67 67
     protected function getTSFEFunction(): ExpressionFunction
68 68
     {
69
-        return new ExpressionFunction('getTSFE', function () {
69
+        return new ExpressionFunction('getTSFE', function() {
70 70
             // Not implemented, we only use the evaluator
71
-        }, function ($arguments) {
71
+        }, function($arguments) {
72 72
             if (($GLOBALS['TSFE'] ?? null) instanceof TypoScriptFrontendController) {
73 73
                 return $GLOBALS['TSFE'];
74 74
             }
@@ -78,9 +78,9 @@  discard block
 block discarded – undo
78 78
 
79 79
     protected function getUsergroupFunction(): ExpressionFunction
80 80
     {
81
-        return new ExpressionFunction('usergroup', function () {
81
+        return new ExpressionFunction('usergroup', function() {
82 82
             // Not implemented, we only use the evaluator
83
-        }, function ($arguments, $str) {
83
+        }, function($arguments, $str) {
84 84
             $user = $arguments['frontend']->user ?? $arguments['backend']->user;
85 85
             $groupList = $user->userGroupList ?? '';
86 86
             // '0,-1' is the default usergroups string when not logged in!
@@ -99,10 +99,10 @@  discard block
 block discarded – undo
99 99
     {
100 100
         return new ExpressionFunction(
101 101
             'session',
102
-            function () {
102
+            function() {
103 103
                 // Not implemented, we only use the evaluator
104 104
             },
105
-            function ($arguments, $str) {
105
+            function($arguments, $str) {
106 106
                 $retVal = null;
107 107
                 $keyParts = explode('|', $str);
108 108
                 $sessionKey = array_shift($keyParts);
@@ -129,10 +129,10 @@  discard block
 block discarded – undo
129 129
     {
130 130
         return new ExpressionFunction(
131 131
             'site',
132
-            function () {
132
+            function() {
133 133
                 // Not implemented, we only use the evaluator
134 134
             },
135
-            function ($arguments, $str) {
135
+            function($arguments, $str) {
136 136
                 /** @var RequestWrapper $requestWrapper */
137 137
                 $requestWrapper = $arguments['request'];
138 138
                 $site = $requestWrapper->getSite();
@@ -151,10 +151,10 @@  discard block
 block discarded – undo
151 151
     {
152 152
         return new ExpressionFunction(
153 153
             'siteLanguage',
154
-            function () {
154
+            function() {
155 155
                 // Not implemented, we only use the evaluator
156 156
             },
157
-            function ($arguments, $str) {
157
+            function($arguments, $str) {
158 158
                 /** @var RequestWrapper $requestWrapper */
159 159
                 $requestWrapper = $arguments['request'];
160 160
                 $siteLanguage = $requestWrapper->getSiteLanguage();
Please login to merge, or discard this patch.