Passed
Push — master ( 208bf9...74b704 )
by
unknown
14:05
created
sysext/beuser/Classes/Domain/Repository/BackendUserSessionRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
         // Map array to correct keys
42 42
         $allSessions = array_map(
43
-            function ($session) {
43
+            function($session) {
44 44
                 return [
45 45
                     'id' => $session['ses_id'], // this is the hashed sessionId
46 46
                     'ip' => $session['ses_iplock'],
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         );
53 53
 
54 54
         // Sort by timestamp
55
-        usort($allSessions, function ($session1, $session2) {
55
+        usort($allSessions, function($session1, $session2) {
56 56
             return $session1['timestamp'] <=> $session2['timestamp'];
57 57
         });
58 58
 
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 
72 72
         return array_filter(
73 73
             $allActive,
74
-            function ($session) use ($backendUser) {
74
+            function($session) use ($backendUser) {
75 75
                 return (int)$session['ses_userid'] === $backendUser->getUid();
76 76
             }
77 77
         );
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Routing/PreviewUriBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -311,7 +311,7 @@
 block discarded – undo
311 311
     protected function prefixAttributeNames(string $prefix, array $attributes): array
312 312
     {
313 313
         $attributeNames = array_map(
314
-            function (string $name) use ($prefix): string {
314
+            function(string $name) use ($prefix): string {
315 315
                 return $prefix . $name;
316 316
             },
317 317
             array_keys($attributes)
Please login to merge, or discard this patch.
typo3/sysext/info/Classes/Controller/InfoModuleController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@
 block discarded – undo
261 261
         $languageService = $this->getLanguageService();
262 262
         $buttonBar = $this->moduleTemplate->getDocHeaderComponent()->getButtonBar();
263 263
         // View page
264
-        $previewDataAttributes =PreviewUriBuilder::create((int)$this->pageinfo['uid'])
264
+        $previewDataAttributes = PreviewUriBuilder::create((int)$this->pageinfo['uid'])
265 265
             ->withRootLine(BackendUtility::BEgetRootLine($this->pageinfo['uid']))
266 266
             ->buildDispatcherDataAttributes();
267 267
         $viewButton = $buttonBar->makeLinkButton()
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Template/ModuleTemplate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -553,7 +553,7 @@
 block discarded – undo
553 553
             $this->iconFactory->getIcon('actions-system-shortcut-active', Icon::SIZE_SMALL)->render() . '</a>';
554 554
         }
555 555
 
556
-        $confirmationText =  $this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.makeBookmark');
556
+        $confirmationText = $this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.makeBookmark');
557 557
         $onClick = 'top.TYPO3.ShortcutMenu.createShortcut('
558 558
             . GeneralUtility::quoteJSvalue($routeIdentifier)
559 559
             . ', ' . GeneralUtility::quoteJSvalue($arguments)
Please login to merge, or discard this patch.
typo3/sysext/install/Classes/Service/WebServerConfigurationFileService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
181 181
     ): string {
182 182
         return preg_replace_callback(
183 183
             $pattern,
184
-            static function ($matches) use ($newRewriteRule) {
184
+            static function($matches) use ($newRewriteRule) {
185 185
                 return str_replace($matches[2], '', ($matches[1] . $newRewriteRule)) . $matches[3];
186 186
             },
187 187
             $configurationFileContent,
Please login to merge, or discard this patch.
typo3/sysext/install/Classes/ServiceProvider.php 1 patch
Spacing   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -55,42 +55,42 @@
 block discarded – undo
55 55
     public function getFactories(): array
56 56
     {
57 57
         return [
58
-            Http\Application::class => [ static::class, 'getApplication' ],
59
-            Http\NotFoundRequestHandler::class => [ static::class, 'getNotFoundRequestHandler' ],
60
-            Service\ClearCacheService::class => [ static::class, 'getClearCacheService' ],
61
-            Service\CoreUpdateService::class => [ static::class, 'getCoreUpdateService' ],
62
-            Service\CoreVersionService::class => [ static::class, 'getCoreVersionService' ],
63
-            Service\ExtensionConfigurationService::class => [ static::class, 'getExtensionConfigurationService' ],
64
-            Service\LanguagePackService::class => [ static::class, 'getLanguagePackService' ],
65
-            Service\LateBootService::class => [ static::class, 'getLateBootService' ],
66
-            Service\LoadTcaService::class => [ static::class, 'getLoadTcaService' ],
67
-            Service\SilentConfigurationUpgradeService::class => [ static::class, 'getSilentConfigurationUpgradeService' ],
68
-            Service\SilentTemplateFileUpgradeService::class => [ static::class, 'getSilentTemplateFileUpgradeService' ],
69
-            Service\WebServerConfigurationFileService::class => [ static::class, 'getWebServerConfigurationFileService' ],
70
-            Service\Typo3tempFileService::class => [ static::class, 'getTypo3tempFileService' ],
71
-            Service\UpgradeWizardsService::class => [ static::class, 'getUpgradeWizardsService' ],
72
-            Middleware\Installer::class => [ static::class, 'getInstallerMiddleware' ],
73
-            Middleware\Maintenance::class => [ static::class, 'getMaintenanceMiddleware' ],
74
-            Controller\EnvironmentController::class => [ static::class, 'getEnvironmentController' ],
75
-            Controller\IconController::class => [ static::class, 'getIconController' ],
76
-            Controller\InstallerController::class => [ static::class, 'getInstallerController' ],
77
-            Controller\LayoutController::class => [ static::class, 'getLayoutController' ],
78
-            Controller\LoginController::class => [ static::class, 'getLoginController' ],
79
-            Controller\MaintenanceController::class => [ static::class, 'getMaintenanceController' ],
80
-            Controller\SettingsController::class => [ static::class, 'getSettingsController' ],
81
-            Controller\UpgradeController::class => [ static::class, 'getUpgradeController' ],
82
-            Command\LanguagePackCommand::class => [ static::class, 'getLanguagePackCommand' ],
83
-            Command\UpgradeWizardRunCommand::class => [ static::class, 'getUpgradeWizardRunCommand' ],
84
-            Command\UpgradeWizardListCommand::class => [ static::class, 'getUpgradeWizardListCommand' ],
85
-            Database\PermissionsCheck::class => [ static::class, 'getPermissionsCheck' ],
58
+            Http\Application::class => [static::class, 'getApplication'],
59
+            Http\NotFoundRequestHandler::class => [static::class, 'getNotFoundRequestHandler'],
60
+            Service\ClearCacheService::class => [static::class, 'getClearCacheService'],
61
+            Service\CoreUpdateService::class => [static::class, 'getCoreUpdateService'],
62
+            Service\CoreVersionService::class => [static::class, 'getCoreVersionService'],
63
+            Service\ExtensionConfigurationService::class => [static::class, 'getExtensionConfigurationService'],
64
+            Service\LanguagePackService::class => [static::class, 'getLanguagePackService'],
65
+            Service\LateBootService::class => [static::class, 'getLateBootService'],
66
+            Service\LoadTcaService::class => [static::class, 'getLoadTcaService'],
67
+            Service\SilentConfigurationUpgradeService::class => [static::class, 'getSilentConfigurationUpgradeService'],
68
+            Service\SilentTemplateFileUpgradeService::class => [static::class, 'getSilentTemplateFileUpgradeService'],
69
+            Service\WebServerConfigurationFileService::class => [static::class, 'getWebServerConfigurationFileService'],
70
+            Service\Typo3tempFileService::class => [static::class, 'getTypo3tempFileService'],
71
+            Service\UpgradeWizardsService::class => [static::class, 'getUpgradeWizardsService'],
72
+            Middleware\Installer::class => [static::class, 'getInstallerMiddleware'],
73
+            Middleware\Maintenance::class => [static::class, 'getMaintenanceMiddleware'],
74
+            Controller\EnvironmentController::class => [static::class, 'getEnvironmentController'],
75
+            Controller\IconController::class => [static::class, 'getIconController'],
76
+            Controller\InstallerController::class => [static::class, 'getInstallerController'],
77
+            Controller\LayoutController::class => [static::class, 'getLayoutController'],
78
+            Controller\LoginController::class => [static::class, 'getLoginController'],
79
+            Controller\MaintenanceController::class => [static::class, 'getMaintenanceController'],
80
+            Controller\SettingsController::class => [static::class, 'getSettingsController'],
81
+            Controller\UpgradeController::class => [static::class, 'getUpgradeController'],
82
+            Command\LanguagePackCommand::class => [static::class, 'getLanguagePackCommand'],
83
+            Command\UpgradeWizardRunCommand::class => [static::class, 'getUpgradeWizardRunCommand'],
84
+            Command\UpgradeWizardListCommand::class => [static::class, 'getUpgradeWizardListCommand'],
85
+            Database\PermissionsCheck::class => [static::class, 'getPermissionsCheck'],
86 86
         ];
87 87
     }
88 88
 
89 89
     public function getExtensions(): array
90 90
     {
91 91
         return [
92
-            'backend.routes' => [ static::class, 'configureBackendRoutes' ],
93
-            CommandRegistry::class => [ static::class, 'configureCommands' ],
92
+            'backend.routes' => [static::class, 'configureBackendRoutes'],
93
+            CommandRegistry::class => [static::class, 'configureCommands'],
94 94
         ];
95 95
     }
96 96
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FieldWizard/SelectIcons.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -60,18 +60,18 @@
 block discarded – undo
60 60
         $html = [];
61 61
         if (!empty($selectIcons)) {
62 62
             $html[] = '<div class="t3js-forms-select-single-icons icon-list">';
63
-            $html[] =    '<div class="row">';
63
+            $html[] = '<div class="row">';
64 64
             foreach ($selectIcons as $i => $selectIcon) {
65
-                $active = $selectIcon['active'] ?  ' active' : '';
66
-                $html[] =   '<div class="col col-auto item' . $active . '">';
65
+                $active = $selectIcon['active'] ? ' active' : '';
66
+                $html[] = '<div class="col col-auto item' . $active . '">';
67 67
                 if (is_array($selectIcon)) {
68 68
                     $html[] = '<a href="#" title="' . htmlspecialchars($selectIcon['title'], ENT_COMPAT, 'UTF-8', false) . '" data-select-index="' . htmlspecialchars((string)$selectIcon['index']) . '">';
69
-                    $html[] =   $selectIcon['icon'];
69
+                    $html[] = $selectIcon['icon'];
70 70
                     $html[] = '</a>';
71 71
                 }
72
-                $html[] =   '</div>';
72
+                $html[] = '</div>';
73 73
             }
74
-            $html[] =    '</div>';
74
+            $html[] = '</div>';
75 75
             $html[] = '</div>';
76 76
         }
77 77
 
Please login to merge, or discard this patch.
typo3/sysext/t3editor/Classes/Form/Element/T3editorElement.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -138,26 +138,26 @@
 block discarded – undo
138 138
 
139 139
         $html = [];
140 140
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
141
-        $html[] =   $fieldInformationHtml;
142
-        $html[] =   '<div class="form-control-wrap">';
143
-        $html[] =       '<div class="form-wizards-wrap">';
144
-        $html[] =           '<div class="form-wizards-element">';
145
-        $html[] =               $editorHtml;
146
-        $html[] =           '</div>';
141
+        $html[] = $fieldInformationHtml;
142
+        $html[] = '<div class="form-control-wrap">';
143
+        $html[] = '<div class="form-wizards-wrap">';
144
+        $html[] = '<div class="form-wizards-element">';
145
+        $html[] = $editorHtml;
146
+        $html[] = '</div>';
147 147
         if (!empty($fieldControlHtml)) {
148
-            $html[] =           '<div class="form-wizards-items-aside">';
149
-            $html[] =               '<div class="btn-group">';
150
-            $html[] =                   $fieldControlHtml;
151
-            $html[] =               '</div>';
152
-            $html[] =           '</div>';
148
+            $html[] = '<div class="form-wizards-items-aside">';
149
+            $html[] = '<div class="btn-group">';
150
+            $html[] = $fieldControlHtml;
151
+            $html[] = '</div>';
152
+            $html[] = '</div>';
153 153
         }
154 154
         if (!empty($fieldWizardHtml)) {
155 155
             $html[] = '<div class="form-wizards-items-bottom">';
156 156
             $html[] = $fieldWizardHtml;
157 157
             $html[] = '</div>';
158 158
         }
159
-        $html[] =       '</div>';
160
-        $html[] =   '</div>';
159
+        $html[] = '</div>';
160
+        $html[] = '</div>';
161 161
         $html[] = '</div>';
162 162
 
163 163
         $this->resultArray['html'] = implode(LF, $html);
Please login to merge, or discard this patch.
typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -282,7 +282,7 @@
 block discarded – undo
282 282
                             // Try adding or editing
283 283
                             $content .= $this->editTaskAction($requestUri);
284 284
                             $sectionTitle = $this->getLanguageService()->getLL('action.' . $this->getCurrentAction());
285
-                        } catch (\LogicException|\UnexpectedValueException|\OutOfBoundsException $e) {
285
+                        } catch (\LogicException | \UnexpectedValueException | \OutOfBoundsException $e) {
286 286
                             // Catching all types of exceptions that were previously handled and
287 287
                             // converted to messages
288 288
                             $content .= $this->listTasksAction();
Please login to merge, or discard this patch.