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
Pull Request — master (#15)
by Toby
26:55 queued 11:26
created
src/Observers/Tags/PositionTagObserverClearCache.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -21,23 +21,23 @@
 block discarded – undo
21 21
 
22 22
     public function delete(PositionTag $positionTag)
23 23
     {
24
-        $this->cache->forget(PositionTagCache::class . '@allThroughTagCategory:' . $positionTag->categoryId());
25
-        $this->cache->forget(PositionTagCache::class . '@getById:' . $positionTag->id());
26
-        $this->cache->forget(PositionTagCache::class . '@getTagByFullReference:' . $positionTag->fullReference());
24
+        $this->cache->forget(PositionTagCache::class.'@allThroughTagCategory:'.$positionTag->categoryId());
25
+        $this->cache->forget(PositionTagCache::class.'@getById:'.$positionTag->id());
26
+        $this->cache->forget(PositionTagCache::class.'@getTagByFullReference:'.$positionTag->fullReference());
27 27
     }
28 28
 
29 29
     public function create(PositionTag $positionTag)
30 30
     {
31
-        return $this->cache->forget(PositionTagCache::class . '@allThroughTagCategory:' . $positionTag->categoryId());
31
+        return $this->cache->forget(PositionTagCache::class.'@allThroughTagCategory:'.$positionTag->categoryId());
32 32
     }
33 33
 
34 34
     public function update(PositionTag $oldPositionTag, PositionTag $newPositionTag)
35 35
     {
36
-        $this->cache->forget(PositionTagCache::class . '@getById:' . $newPositionTag->id());
37
-        $this->cache->forget(PositionTagCache::class . '@getTagByFullReference:' . $oldPositionTag->fullReference());
38
-        $this->cache->forget(PositionTagCache::class . '@getTagByFullReference:' . $newPositionTag->fullReference());
39
-        $this->cache->forget(PositionTagCache::class . '@allThroughTagCategory:' . $oldPositionTag->categoryId());
40
-        $this->cache->forget(PositionTagCache::class . '@allThroughTagCategory:' . $newPositionTag->categoryId());        
36
+        $this->cache->forget(PositionTagCache::class.'@getById:'.$newPositionTag->id());
37
+        $this->cache->forget(PositionTagCache::class.'@getTagByFullReference:'.$oldPositionTag->fullReference());
38
+        $this->cache->forget(PositionTagCache::class.'@getTagByFullReference:'.$newPositionTag->fullReference());
39
+        $this->cache->forget(PositionTagCache::class.'@allThroughTagCategory:'.$oldPositionTag->categoryId());
40
+        $this->cache->forget(PositionTagCache::class.'@allThroughTagCategory:'.$newPositionTag->categoryId());        
41 41
     }
42 42
 
43 43
 }
44 44
\ No newline at end of file
Please login to merge, or discard this patch.
src/Observers/Tags/GroupTagObserverCascadeDelete.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
     public function delete(GroupTag $groupTag)
22 22
     {
23 23
         $groups = $this->groupGroupTag->getGroupsThroughTag($groupTag);
24
-        foreach($groups as $group) {
24
+        foreach ($groups as $group) {
25 25
             $this->groupGroupTag->removeTagFromGroup($groupTag, $group);
26 26
         }
27 27
     }
Please login to merge, or discard this patch.
src/Observers/Tags/GroupTagCategoryObserverCascadeDelete.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
     public function delete(GroupTagCategory $groupTagCategory)
22 22
     {
23 23
         $tags = $this->groupTagRepository->allThroughTagCategory($groupTagCategory);
24
-        foreach($tags as $tag) {
24
+        foreach ($tags as $tag) {
25 25
             $this->groupTagRepository->delete($tag->id());
26 26
         }
27 27
     }
Please login to merge, or discard this patch.
src/Observers/Tags/PositionTagCategoryObserverCascadeDelete.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
     public function delete(PositionTagCategory $positionTagCategory)
22 22
     {
23 23
         $tags = $this->positionTagRepository->allThroughTagCategory($positionTagCategory);
24
-        foreach($tags as $tag) {
24
+        foreach ($tags as $tag) {
25 25
             $this->positionTagRepository->delete($tag->id());
26 26
         }
27 27
     }
Please login to merge, or discard this patch.
src/Observers/Tags/UserTagCategoryObserverCascadeDelete.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
     public function delete(UserTagCategory $userTagCategory)
22 22
     {
23 23
         $tags = $this->userTagRepository->allThroughTagCategory($userTagCategory);
24
-        foreach($tags as $tag) {
24
+        foreach ($tags as $tag) {
25 25
             $this->userTagRepository->delete($tag->id());
26 26
         }
27 27
     }
Please login to merge, or discard this patch.
src/Observers/Tags/GroupTagCategoryObserverClearCache.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -21,15 +21,15 @@
 block discarded – undo
21 21
 
22 22
     public function delete(GroupTagCategory $groupTagCategory)
23 23
     {
24
-        $this->cache->forget(GroupTagCategoryCache::class . '@getByReference:' . $groupTagCategory->reference());
25
-        $this->cache->forget(GroupTagCategoryCache::class . '@getById: ' . $groupTagCategory->id());
24
+        $this->cache->forget(GroupTagCategoryCache::class.'@getByReference:'.$groupTagCategory->reference());
25
+        $this->cache->forget(GroupTagCategoryCache::class.'@getById: '.$groupTagCategory->id());
26 26
     }
27 27
 
28 28
     public function update(GroupTagCategory $oldGroupTagCategory, GroupTagCategory $newGroupTagCategory)
29 29
     {
30
-        $this->cache->forget(GroupTagCategoryCache::class . '@getById:' . $newGroupTagCategory->id());
31
-        $this->cache->forget(GroupTagCategoryCache::class . '@getByReference:' . $newGroupTagCategory->reference());
32
-        $this->cache->forget(GroupTagCategoryCache::class . '@getByReference:' . $oldGroupTagCategory->reference());
30
+        $this->cache->forget(GroupTagCategoryCache::class.'@getById:'.$newGroupTagCategory->id());
31
+        $this->cache->forget(GroupTagCategoryCache::class.'@getByReference:'.$newGroupTagCategory->reference());
32
+        $this->cache->forget(GroupTagCategoryCache::class.'@getByReference:'.$oldGroupTagCategory->reference());
33 33
     }
34 34
 
35 35
 }
36 36
\ No newline at end of file
Please login to merge, or discard this patch.
src/Observers/Tags/UserTagObserverCascadeDelete.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
     public function delete(UserTag $userTag)
22 22
     {
23 23
         $users = $this->userUserTag->getUsersThroughTag($userTag);
24
-        foreach($users as $user) {
24
+        foreach ($users as $user) {
25 25
             $this->userUserTag->removeTagFromUser($userTag, $user);
26 26
         }
27 27
     }
Please login to merge, or discard this patch.
src/Observers/DataPositionObserverClearCache.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(DataPosition $oldDataPosition, DataPosition $newDataPosition)
23 23
     {
24
-        $this->cache->forget(DataPositionCache::class . '@getById:' . $newDataPosition->id());
24
+        $this->cache->forget(DataPositionCache::class.'@getById:'.$newDataPosition->id());
25 25
     }
26 26
 
27 27
 }
28 28
\ No newline at end of file
Please login to merge, or discard this patch.
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.