GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — develop ( 3ec2b8...2aad22 )
by Toby
20:42 queued 13s
created
src/Observers/UserObserverCascadeDelete.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,21 +39,21 @@
 block discarded – undo
39 39
 
40 40
     private function removeGroups(User $user)
41 41
     {
42
-        foreach($this->userGroup->getGroupsThroughUser($user) as $group) {
42
+        foreach ($this->userGroup->getGroupsThroughUser($user) as $group) {
43 43
             $this->userGroup->removeUserFromGroup($user, $group);
44 44
         }
45 45
     }
46 46
 
47 47
     private function removeTags(User $user)
48 48
     {
49
-        foreach($this->userUserTag->getTagsThroughUser($user) as $tag) {
49
+        foreach ($this->userUserTag->getTagsThroughUser($user) as $tag) {
50 50
             $this->userUserTag->removeTagFromUser($tag, $user);
51 51
         }
52 52
     }
53 53
 
54 54
     private function removeRoles(User $user)
55 55
     {
56
-        foreach($this->userRole->getRolesThroughUser($user) as $role) {
56
+        foreach ($this->userRole->getRolesThroughUser($user) as $role) {
57 57
             $this->userRole->removeUserFromRole($user, $role);
58 58
         }
59 59
     }
Please login to merge, or discard this patch.
src/Observers/GroupObserverCascadeDelete.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,21 +39,21 @@
 block discarded – undo
39 39
 
40 40
     private function removeUsers(Group $group)
41 41
     {
42
-        foreach($this->userGroup->getUsersThroughGroup($group) as $user) {
42
+        foreach ($this->userGroup->getUsersThroughGroup($group) as $user) {
43 43
             $this->userGroup->removeUserFromGroup($user, $group);
44 44
         }
45 45
     }
46 46
 
47 47
     private function removeTags(Group $group)
48 48
     {
49
-        foreach($this->groupGroupTag->getTagsThroughGroup($group) as $tag) {
49
+        foreach ($this->groupGroupTag->getTagsThroughGroup($group) as $tag) {
50 50
             $this->groupGroupTag->removeTagFromGroup($tag, $group);
51 51
         }
52 52
     }
53 53
 
54 54
     private function deleteRoles(Group $group)
55 55
     {
56
-        foreach($this->role->allThroughGroup($group) as $role) {
56
+        foreach ($this->role->allThroughGroup($group) as $role) {
57 57
             $this->role->delete($role->id());
58 58
         }
59 59
     }
Please login to merge, or discard this patch.
src/Observers/Pivots/UserGroupObserverClearCache.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,14 +22,14 @@
 block discarded – undo
22 22
 
23 23
     public function addUserToGroup(User $user, Group $group)
24 24
     {
25
-        $this->cache->forget(UserGroupCache::class . '@getGroupsThroughUser:' . $user->id());
26
-        $this->cache->forget(UserGroupCache::class . '@getUsersThroughGroup:' . $group->id());
25
+        $this->cache->forget(UserGroupCache::class.'@getGroupsThroughUser:'.$user->id());
26
+        $this->cache->forget(UserGroupCache::class.'@getUsersThroughGroup:'.$group->id());
27 27
     }
28 28
 
29 29
     public function removeUserFromGroup(User $user, Group $group): void
30 30
     {
31
-        $this->cache->forget(UserGroupCache::class . '@getGroupsThroughUser:' . $user->id());
32
-        $this->cache->forget(UserGroupCache::class . '@getUsersThroughGroup:' . $group->id());
31
+        $this->cache->forget(UserGroupCache::class.'@getGroupsThroughUser:'.$user->id());
32
+        $this->cache->forget(UserGroupCache::class.'@getUsersThroughGroup:'.$group->id());
33 33
     }
34 34
 
35 35
 }
36 36
\ No newline at end of file
Please login to merge, or discard this patch.
src/Observers/Pivots/Tags/UserUserTagObserverClearCache.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,14 +22,14 @@
 block discarded – undo
22 22
 
23 23
     public function addTagToUser(UserTag $userTag, User $user): void
24 24
     {
25
-        $this->cache->forget(UserUserTagCache::class . '@getTagsThroughUser:' . $user->id());
26
-        $this->cache->forget(UserUserTagCache::class . '@getUsersThroughTag:' . $userTag->id());
25
+        $this->cache->forget(UserUserTagCache::class.'@getTagsThroughUser:'.$user->id());
26
+        $this->cache->forget(UserUserTagCache::class.'@getUsersThroughTag:'.$userTag->id());
27 27
     }
28 28
 
29 29
     public function removeTagFromUser(UserTag $userTag, User $user): void
30 30
     {
31
-        $this->cache->forget(UserUserTagCache::class . '@getTagsThroughUser:' . $user->id());
32
-        $this->cache->forget(UserUserTagCache::class . '@getUsersThroughTag:' . $userTag->id());
31
+        $this->cache->forget(UserUserTagCache::class.'@getTagsThroughUser:'.$user->id());
32
+        $this->cache->forget(UserUserTagCache::class.'@getUsersThroughTag:'.$userTag->id());
33 33
     }
34 34
 
35 35
 }
36 36
\ No newline at end of file
Please login to merge, or discard this patch.
src/Observers/Pivots/Tags/RoleRoleTagObserverClearCache.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,14 +22,14 @@
 block discarded – undo
22 22
 
23 23
     public function addTagToRole(RoleTag $roleTag, Role $role): void
24 24
     {
25
-        $this->cache->forget(RoleRoleTagCache::class . '@getTagsThroughRole:' . $role->id());
26
-        $this->cache->forget(RoleRoleTagCache::class . '@getRolesThroughTag:' . $roleTag->id());
25
+        $this->cache->forget(RoleRoleTagCache::class.'@getTagsThroughRole:'.$role->id());
26
+        $this->cache->forget(RoleRoleTagCache::class.'@getRolesThroughTag:'.$roleTag->id());
27 27
     }
28 28
 
29 29
     public function removeTagFromRole(RoleTag $roleTag, Role $role): void
30 30
     {
31
-        $this->cache->forget(RoleRoleTagCache::class . '@getTagsThroughRole:' . $role->id());
32
-        $this->cache->forget(RoleRoleTagCache::class . '@getRolesThroughTag:' . $roleTag->id());
31
+        $this->cache->forget(RoleRoleTagCache::class.'@getTagsThroughRole:'.$role->id());
32
+        $this->cache->forget(RoleRoleTagCache::class.'@getRolesThroughTag:'.$roleTag->id());
33 33
     }
34 34
 
35 35
 }
36 36
\ No newline at end of file
Please login to merge, or discard this patch.
src/Observers/Pivots/Tags/PositionPositionTagObserverClearCache.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,14 +22,14 @@
 block discarded – undo
22 22
 
23 23
     public function addTagToPosition(PositionTag $positionTag, Position $position): void
24 24
     {
25
-        $this->cache->forget(PositionPositionTagCache::class . '@getTagsThroughPosition:' . $position->id());
26
-        $this->cache->forget(PositionPositionTagCache::class . '@getPositionsThroughTag:' . $positionTag->id());
25
+        $this->cache->forget(PositionPositionTagCache::class.'@getTagsThroughPosition:'.$position->id());
26
+        $this->cache->forget(PositionPositionTagCache::class.'@getPositionsThroughTag:'.$positionTag->id());
27 27
     }
28 28
 
29 29
     public function removeTagFromPosition(PositionTag $positionTag, Position $position): void
30 30
     {
31
-        $this->cache->forget(PositionPositionTagCache::class . '@getTagsThroughPosition:' . $position->id());
32
-        $this->cache->forget(PositionPositionTagCache::class . '@getPositionsThroughTag:' . $positionTag->id());
31
+        $this->cache->forget(PositionPositionTagCache::class.'@getTagsThroughPosition:'.$position->id());
32
+        $this->cache->forget(PositionPositionTagCache::class.'@getPositionsThroughTag:'.$positionTag->id());
33 33
     }
34 34
 
35 35
 }
36 36
\ No newline at end of file
Please login to merge, or discard this patch.
src/Observers/Pivots/Tags/GroupGroupTagObserverClearCache.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,14 +22,14 @@
 block discarded – undo
22 22
 
23 23
     public function addTagToGroup(GroupTag $groupTag, Group $group): void
24 24
     {
25
-        $this->cache->forget(GroupGroupTagCache::class . '@getTagsThroughGroup:' . $group->id());
26
-        $this->cache->forget(GroupGroupTagCache::class . '@getGroupsThroughTag:' . $groupTag->id());
25
+        $this->cache->forget(GroupGroupTagCache::class.'@getTagsThroughGroup:'.$group->id());
26
+        $this->cache->forget(GroupGroupTagCache::class.'@getGroupsThroughTag:'.$groupTag->id());
27 27
     }
28 28
 
29 29
     public function removeTagFromGroup(GroupTag $groupTag, Group $group): void
30 30
     {
31
-        $this->cache->forget(GroupGroupTagCache::class . '@getTagsThroughGroup:' . $group->id());
32
-        $this->cache->forget(GroupGroupTagCache::class . '@getGroupsThroughTag:' . $groupTag->id());
31
+        $this->cache->forget(GroupGroupTagCache::class.'@getTagsThroughGroup:'.$group->id());
32
+        $this->cache->forget(GroupGroupTagCache::class.'@getGroupsThroughTag:'.$groupTag->id());
33 33
     }
34 34
 
35 35
 }
36 36
\ No newline at end of file
Please login to merge, or discard this patch.
src/Observers/Pivots/UserRoleObserverClearCache.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,14 +22,14 @@
 block discarded – undo
22 22
 
23 23
     public function addUserToRole(User $user, Role $role)
24 24
     {
25
-        $this->cache->forget(UserRoleCache::class . '@getRolesThroughUser:' . $user->id());
26
-        $this->cache->forget(UserRoleCache::class . '@getUsersThroughRole:' . $role->id());
25
+        $this->cache->forget(UserRoleCache::class.'@getRolesThroughUser:'.$user->id());
26
+        $this->cache->forget(UserRoleCache::class.'@getUsersThroughRole:'.$role->id());
27 27
     }
28 28
 
29 29
     public function removeUserFromRole(User $user, Role $role): void
30 30
     {
31
-        $this->cache->forget(UserRoleCache::class . '@getRolesThroughUser:' . $user->id());
32
-        $this->cache->forget(UserRoleCache::class . '@getUsersThroughRole:' . $role->id());
31
+        $this->cache->forget(UserRoleCache::class.'@getRolesThroughUser:'.$user->id());
32
+        $this->cache->forget(UserRoleCache::class.'@getUsersThroughRole:'.$role->id());
33 33
     }
34 34
 
35 35
 }
36 36
\ No newline at end of file
Please login to merge, or discard this patch.
src/Observers/NotifyObservers/Framework/ObserverStore.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     
10 10
     public function attach($notifier, $observer): void
11 11
     {
12
-        if(!array_key_exists($notifier, $this->observers)) {
12
+        if (!array_key_exists($notifier, $this->observers)) {
13 13
             $this->observers[$notifier] = [];
14 14
         }
15 15
         $this->observers[$notifier][] = $observer;
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     
27 27
     public function forNotifier($notifier): array
28 28
     {
29
-        if(array_key_exists($notifier, $this->observers)) {
29
+        if (array_key_exists($notifier, $this->observers)) {
30 30
             return $this->observers[$notifier];
31 31
         }
32 32
         return [];
Please login to merge, or discard this patch.