Passed
Pull Request — new-search (#753)
by Matthew
03:41
created
includes/Validation/RequestValidationHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@
 block discarded – undo
248 248
                 /** @var RequestQueue|false $targetQueue */
249 249
                 $targetQueue = RequestQueue::getById($ban->getTargetQueue(), $this->database);
250 250
 
251
-                if ($targetQueue === false ) {
251
+                if ($targetQueue === false) {
252 252
                     $comment = new Comment();
253 253
                     $comment->setDatabase($this->database);
254 254
                     $comment->setRequest($request->getId());
Please login to merge, or discard this patch.
includes/Fragments/NavigationMenuAccessControl.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,13 +116,13 @@
 block discarded – undo
116 116
         $countOfJobQueue = 0;
117 117
 
118 118
         // Count of flagged comments:
119
-        if($this->barrierTest(RoleConfiguration::MAIN, $currentUser, PageListFlaggedComments::class)) {
119
+        if ($this->barrierTest(RoleConfiguration::MAIN, $currentUser, PageListFlaggedComments::class)) {
120 120
             // We want all flagged comments that haven't been acknowledged if we can visit the page.
121 121
             $countOfFlagged = sizeof(Comment::getFlaggedComments($database));
122 122
         }
123 123
 
124 124
         // Count of failed job queue changes:
125
-        if($this->barrierTest(RoleConfiguration::MAIN, $currentUser, PageJobQueue::class)) {
125
+        if ($this->barrierTest(RoleConfiguration::MAIN, $currentUser, PageJobQueue::class)) {
126 126
             // We want all failed jobs that haven't been acknowledged if we can visit the page.
127 127
             JobQueueSearchHelper::get($database)
128 128
                 ->statusIn([JobQueue::STATUS_FAILED])
Please login to merge, or discard this patch.