Passed
Push — master ( 3e5dae...8d4e4c )
by Simon
12:37
created
includes/Fragments/NavigationMenuAccessControl.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -120,13 +120,13 @@
 block discarded – undo
120 120
         $countOfJobQueue = 0;
121 121
 
122 122
         // Count of flagged comments:
123
-        if($this->barrierTest(RoleConfiguration::MAIN, $currentUser, PageListFlaggedComments::class)) {
123
+        if ($this->barrierTest(RoleConfiguration::MAIN, $currentUser, PageListFlaggedComments::class)) {
124 124
             // We want all flagged comments that haven't been acknowledged if we can visit the page.
125 125
             $countOfFlagged = sizeof(Comment::getFlaggedComments($database));
126 126
         }
127 127
 
128 128
         // Count of failed job queue changes:
129
-        if($this->barrierTest(RoleConfiguration::MAIN, $currentUser, PageJobQueue::class)) {
129
+        if ($this->barrierTest(RoleConfiguration::MAIN, $currentUser, PageJobQueue::class)) {
130 130
             // We want all failed jobs that haven't been acknowledged if we can visit the page.
131 131
             JobQueueSearchHelper::get($database)
132 132
                 ->statusIn([JobQueue::STATUS_FAILED])
Please login to merge, or discard this patch.
includes/Validation/RequestValidationHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
                 /** @var RequestQueue|false $targetQueue */
252 252
                 $targetQueue = RequestQueue::getById($ban->getTargetQueue(), $this->database);
253 253
 
254
-                if ($targetQueue === false ) {
254
+                if ($targetQueue === false) {
255 255
                     $comment = new Comment();
256 256
                     $comment->setDatabase($this->database);
257 257
                     $comment->setRequest($request->getId());
@@ -444,7 +444,7 @@  discard block
 block discarded – undo
444 444
     private function formOverride(Request $request)
445 445
     {
446 446
         $form = $request->getOriginFormObject();
447
-        if($form === null || $form->getOverrideQueue() === null) {
447
+        if ($form === null || $form->getOverrideQueue() === null) {
448 448
             return;
449 449
         }
450 450
 
Please login to merge, or discard this patch.