Test Failed
Branch master (137376)
by Tymoteusz
20:39
created
typo3/sysext/core/Classes/Session/Backend/SessionBackendInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Core\Session\Backend;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
core/Classes/Session/Backend/Exception/SessionNotUpdatedException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Core\Session\Backend\Exception;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Session/Backend/DatabaseSessionBackend.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Core\Session\Backend;
4 4
 
5 5
 /*
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
 
188 188
         $query->delete($this->configuration['table'])
189 189
             ->where($query->expr()->lt('ses_tstamp', (int)($GLOBALS['EXEC_TIME'] - (int)$maximumLifetime)))
190
-            ->andWhere($this->hasAnonymousSessions ? $query->expr()->eq('ses_anonymous', 0) :' 1 = 1');
190
+            ->andWhere($this->hasAnonymousSessions ? $query->expr()->eq('ses_anonymous', 0) : ' 1 = 1');
191 191
         $query->execute();
192 192
 
193 193
         if ($maximumAnonymousLifetime > 0 && $this->hasAnonymousSessions) {
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/core/Classes/Session/Backend/RedisSessionBackend.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Core\Session\Backend;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
sysext/core/Classes/Session/Backend/Exception/SessionNotFoundException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Core\Session\Backend\Exception;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
core/Classes/Session/Backend/Exception/SessionNotCreatedException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace TYPO3\CMS\Core\Session\Backend\Exception;
4 4
 
5 5
 /*
Please login to merge, or discard this patch.
typo3/sysext/install/Classes/Updates/SectionFrameToFrameClassUpdate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,6 +111,6 @@
 block discarded – undo
111 111
         if (array_key_exists($sectionFrame, $mapping)) {
112 112
             return $mapping[$sectionFrame];
113 113
         }
114
-        return 'custom-' . (int) $sectionFrame;
114
+        return 'custom-' . (int)$sectionFrame;
115 115
     }
116 116
 }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -230,10 +230,10 @@  discard block
 block discarded – undo
230 230
         $numberOfNotYetLocalizedChildren = 0;
231 231
         foreach ($this->data['parameterArray']['fieldConf']['children'] as $child) {
232 232
             if (!$child['isInlineDefaultLanguageRecordInLocalizedParentContext']) {
233
-                $numberOfFullLocalizedChildren ++;
233
+                $numberOfFullLocalizedChildren++;
234 234
             }
235 235
             if ($isLocalizedParent && $child['isInlineDefaultLanguageRecordInLocalizedParentContext']) {
236
-                $numberOfNotYetLocalizedChildren ++;
236
+                $numberOfNotYetLocalizedChildren++;
237 237
             }
238 238
         }
239 239
 
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
         $html .= $fieldWizardHtml;
311 311
 
312 312
         // Add the level links after all child records:
313
-        if ($config['appearance']['levelLinksPosition'] ===  'both' || $config['appearance']['levelLinksPosition'] === 'bottom') {
313
+        if ($config['appearance']['levelLinksPosition'] === 'both' || $config['appearance']['levelLinksPosition'] === 'bottom') {
314 314
             $html .= $levelLinks . $localizationLinks;
315 315
         }
316 316
         if (is_array($config['customControls'])) {
Please login to merge, or discard this patch.