Passed
Branch master (8bd60b)
by Christian
20:40
created
typo3/sysext/extbase/Classes/Mvc/Web/RequestBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -271,7 +271,7 @@
 block discarded – undo
271 271
                 $fieldPaths[] = [$firstLevelFieldName];
272 272
             } else {
273 273
                 $newFieldPaths = $this->calculateFieldPaths($fieldInformation['error'], $firstLevelFieldName);
274
-                array_walk($newFieldPaths, function (&$value, $key) {
274
+                array_walk($newFieldPaths, function(&$value, $key) {
275 275
                     $value = explode('/', $value);
276 276
                 });
277 277
                 $fieldPaths = array_merge($fieldPaths, $newFieldPaths);
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/FormProtection/FormProtectionFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
      */
162 162
     public static function getMessageClosure(LanguageService $languageService, FlashMessageQueue $messageQueue, $isAjaxCall)
163 163
     {
164
-        return function () use ($languageService, $messageQueue, $isAjaxCall) {
164
+        return function() use ($languageService, $messageQueue, $isAjaxCall) {
165 165
             /** @var FlashMessage $flashMessage */
166 166
             $flashMessage = GeneralUtility::makeInstance(
167 167
                 FlashMessage::class,
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/RelationHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -475,7 +475,7 @@
 block discarded – undo
475 475
         if ($sortby === 'uid') {
476 476
             usort(
477 477
                 $this->itemArray,
478
-                function ($a, $b) {
478
+                function($a, $b) {
479 479
                     return $a['id'] < $b['id'] ? -1 : 1;
480 480
                 }
481 481
             );
Please login to merge, or discard this patch.
sysext/beuser/Classes/Domain/Repository/BackendUserSessionRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
         // Map array to correct keys
40 40
         $allSessions = array_map(
41
-            function ($session) {
41
+            function($session) {
42 42
                 return [
43 43
                     'id' => $session['ses_id'],
44 44
                     'ip' => $session['ses_iplock'],
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         );
51 51
 
52 52
         // Sort by timestamp
53
-        usort($allSessions, function ($session1, $session2) {
53
+        usort($allSessions, function($session1, $session2) {
54 54
             return $session1['timestamp'] <=> $session2['timestamp'];
55 55
         });
56 56
 
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 
70 70
         return array_filter(
71 71
             $allActive,
72
-            function ($session) use ($backendUser) {
72
+            function($session) use ($backendUser) {
73 73
                 return (int)$session['ses_userid'] === $backendUser->getUid();
74 74
             }
75 75
         );
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/NoneElement.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -69,14 +69,14 @@
 block discarded – undo
69 69
 
70 70
         $html = [];
71 71
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
72
-        $html[] =   $fieldInformationHtml;
73
-        $html[] =   '<div class="form-wizards-wrap">';
74
-        $html[] =       '<div class="form-wizards-element">';
75
-        $html[] =           '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
76
-        $html[] =               '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
77
-        $html[] =           '</div>';
78
-        $html[] =       '</div>';
79
-        $html[] =   '</div>';
72
+        $html[] = $fieldInformationHtml;
73
+        $html[] = '<div class="form-wizards-wrap">';
74
+        $html[] = '<div class="form-wizards-element">';
75
+        $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">';
76
+        $html[] = '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>';
77
+        $html[] = '</div>';
78
+        $html[] = '</div>';
79
+        $html[] = '</div>';
80 80
         $html[] = '</div>';
81 81
 
82 82
         $resultArray['html'] = implode(LF, $html);
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
@@ -2832,7 +2832,7 @@
 block discarded – undo
2832 2832
         $tempCommaReplacementString = '###KASPER###';
2833 2833
 
2834 2834
         // replace every "," wrapped in "()" by a "unique" string
2835
-        $string = preg_replace_callback('/\((?>[^()]|(?R))*\)/', function ($result) use ($tempCommaReplacementString) {
2835
+        $string = preg_replace_callback('/\((?>[^()]|(?R))*\)/', function($result) use ($tempCommaReplacementString) {
2836 2836
             return str_replace(',', $tempCommaReplacementString, $result[0]);
2837 2837
         }, $string);
2838 2838
 
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/DataHandling/Localization/State.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         return array_keys(
84 84
             array_filter(
85 85
                 $GLOBALS['TCA'][$tableName]['columns'] ?? [],
86
-                function (array $fieldConfiguration) {
86
+                function(array $fieldConfiguration) {
87 87
                     return !empty(
88 88
                         $fieldConfiguration['config']
89 89
                             ['behaviour']['allowLanguageSynchronization']
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
         }
292 292
         return array_filter(
293 293
             $fieldNames,
294
-            function ($fieldName) use ($desiredState) {
294
+            function($fieldName) use ($desiredState) {
295 295
                 return $this->states[$fieldName] === $desiredState;
296 296
             }
297 297
         );
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Backend/ToolbarItems/UserToolbarItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
             }
97 97
 
98 98
             // Remove any item that is not an array (means, the stored uid is not available anymore)
99
-            $mostRecentUsers = array_filter($mostRecentUsers, function ($record) {
99
+            $mostRecentUsers = array_filter($mostRecentUsers, function($record) {
100 100
                 return is_array($record);
101 101
             });
102 102
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FieldWizard/RecordsOverview.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -69,26 +69,26 @@
 block discarded – undo
69 69
                 $selectedItem['uid']
70 70
             );
71 71
             $recordsOverviewHtml[] = '<tr>';
72
-            $recordsOverviewHtml[] =    '<td class="col-icon">';
73
-            $recordsOverviewHtml[] =        $linkedIcon;
74
-            $recordsOverviewHtml[] =    '</td>';
75
-            $recordsOverviewHtml[] =    '<td class="col-title">';
76
-            $recordsOverviewHtml[] =        $linkedTitle;
77
-            $recordsOverviewHtml[] =        '<span class="text-muted">';
78
-            $recordsOverviewHtml[] =            ' [' . $selectedItem['uid'] . ']';
79
-            $recordsOverviewHtml[] =        '</span>';
80
-            $recordsOverviewHtml[] =    '</td>';
72
+            $recordsOverviewHtml[] = '<td class="col-icon">';
73
+            $recordsOverviewHtml[] = $linkedIcon;
74
+            $recordsOverviewHtml[] = '</td>';
75
+            $recordsOverviewHtml[] = '<td class="col-title">';
76
+            $recordsOverviewHtml[] = $linkedTitle;
77
+            $recordsOverviewHtml[] = '<span class="text-muted">';
78
+            $recordsOverviewHtml[] = ' [' . $selectedItem['uid'] . ']';
79
+            $recordsOverviewHtml[] = '</span>';
80
+            $recordsOverviewHtml[] = '</td>';
81 81
             $recordsOverviewHtml[] = '</tr>';
82 82
         }
83 83
 
84 84
         $html = [];
85 85
         if (!empty($recordsOverviewHtml)) {
86 86
             $html[] = '<div class="table-fit">';
87
-            $html[] =   '<table class="table table-white">';
88
-            $html[] =       '<tbody>';
89
-            $html[] =           implode(LF, $recordsOverviewHtml);
90
-            $html[] =       '</tbody>';
91
-            $html[] =   '</table>';
87
+            $html[] = '<table class="table table-white">';
88
+            $html[] = '<tbody>';
89
+            $html[] = implode(LF, $recordsOverviewHtml);
90
+            $html[] = '</tbody>';
91
+            $html[] = '</table>';
92 92
             $html[] = '</div>';
93 93
         }
94 94
 
Please login to merge, or discard this patch.