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 — master ( 0c5c4d...5cc6ab )
by Toby
29:02 queued 14s
created
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.
src/Observers/NotifyObservers/Framework/Notifier.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,9 +32,9 @@
 block discarded – undo
32 32
 
33 33
     public function notify($method, ...$params)
34 34
     {
35
-        foreach($this->observerStore->forNotifier($this->notifier) as $notifierClass)  {
35
+        foreach ($this->observerStore->forNotifier($this->notifier) as $notifierClass) {
36 36
             $notifier = app($notifierClass);
37
-            if(method_exists($notifier, $method)) {
37
+            if (method_exists($notifier, $method)) {
38 38
                 $notifier->{$method}(...$params);
39 39
             }
40 40
         }
Please login to merge, or discard this patch.
src/Observers/RoleObserverCascadeDelete.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,14 +32,14 @@
 block discarded – undo
32 32
 
33 33
     private function removeUsers(Role $role)
34 34
     {
35
-        foreach($this->userRole->getUsersThroughRole($role) as $user) {
35
+        foreach ($this->userRole->getUsersThroughRole($role) as $user) {
36 36
             $this->userRole->removeUserFromRole($user, $role);
37 37
         }
38 38
     }
39 39
 
40 40
     private function removeTags(Role $role)
41 41
     {
42
-        foreach($this->roleRoleTag->getTagsThroughRole($role) as $tag) {
42
+        foreach ($this->roleRoleTag->getTagsThroughRole($role) as $tag) {
43 43
             $this->roleRoleTag->removeTagFromRole($tag, $role);
44 44
         }
45 45
     }
Please login to merge, or discard this patch.
src/Observers/PositionObserverCascadeDelete.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,14 +32,14 @@
 block discarded – undo
32 32
 
33 33
     private function deleteRoles(Position $position)
34 34
     {
35
-        foreach($this->roleRepository->allThroughPosition($position) as $role) {
35
+        foreach ($this->roleRepository->allThroughPosition($position) as $role) {
36 36
             $this->roleRepository->delete($role->id());
37 37
         }
38 38
     }
39 39
 
40 40
     private function removeTags(Position $position)
41 41
     {
42
-        foreach($this->positionPositionTag->getTagsThroughPosition($position) as $tag) {
42
+        foreach ($this->positionPositionTag->getTagsThroughPosition($position) as $tag) {
43 43
             $this->positionPositionTag->removeTagFromPosition($tag, $position);
44 44
         }
45 45
     }
Please login to merge, or discard this patch.
src/Observers/DataUserObserverClearCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
     public function update(DataUser $oldDataUser, DataUser $newDataUser)
23 23
     {
24
-        $this->cache->forget(DataUserCache::class . '@getById:' . $newDataUser->id());
24
+        $this->cache->forget(DataUserCache::class.'@getById:'.$newDataUser->id());
25 25
     }
26 26
 
27 27
 }
28 28
\ No newline at end of file
Please login to merge, or discard this patch.
src/Export/ExportControlCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,16 +44,16 @@
 block discarded – undo
44 44
      */
45 45
     public function handle()
46 46
     {
47
-        $time=-hrtime(true);
47
+        $time = -hrtime(true);
48 48
         Exporter::driver($this->option('exporter'))->export($this->exportData());
49 49
         $this->info('Export complete');
50
-        $time+=hrtime(true);
50
+        $time += hrtime(true);
51 51
         $this->info(sprintf('Export took %.2f s to run', $time / 1e+9));
52 52
     }
53 53
 
54 54
     private function exportData()
55 55
     {
56
-        switch($this->argument('type')) {
56
+        switch ($this->argument('type')) {
57 57
             case 'user': 
58 58
                 return app(User::class)->all();
59 59
                 break;
Please login to merge, or discard this patch.