Failed Conditions
Push — dependabot/npm_and_yarn/sass-1... ( 173e70...4078c3 )
by
unknown
14:54 queued 09:32
created
includes/Fragments/NavigationMenuAccessControl.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,13 +118,13 @@
 block discarded – undo
118 118
         $countOfJobQueue = 0;
119 119
 
120 120
         // Count of flagged comments:
121
-        if($this->barrierTest(RoleConfigurationBase::MAIN, $currentUser, PageListFlaggedComments::class)) {
121
+        if ($this->barrierTest(RoleConfigurationBase::MAIN, $currentUser, PageListFlaggedComments::class)) {
122 122
             // We want all flagged comments that haven't been acknowledged if we can visit the page.
123 123
             $countOfFlagged = sizeof(Comment::getFlaggedComments($database, 1)); // FIXME: domains
124 124
         }
125 125
 
126 126
         // Count of failed job queue changes:
127
-        if($this->barrierTest(RoleConfigurationBase::MAIN, $currentUser, PageJobQueue::class)) {
127
+        if ($this->barrierTest(RoleConfigurationBase::MAIN, $currentUser, PageJobQueue::class)) {
128 128
             // We want all failed jobs that haven't been acknowledged if we can visit the page.
129 129
             JobQueueSearchHelper::get($database, 1) // FIXME: domains
130 130
                 ->statusIn([JobQueue::STATUS_FAILED])
Please login to merge, or discard this patch.
includes/Pages/PageDomainSwitch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         try {
46 46
             $this->getDomainAccessManager()->switchDomain($currentUser, $newDomain);
47 47
         }
48
-        catch(DomainSwitchNotAllowedException $ex){
48
+        catch (DomainSwitchNotAllowedException $ex) {
49 49
             throw new AccessDeniedException($this->getSecurityManager(), $this->getDomainAccessManager());
50 50
         }
51 51
 
Please login to merge, or discard this patch.