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 ( e6912b...498113 )
by Toby
13:04
created
src/Cache/Pivots/UserGroup.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public function getUsersThroughGroup(Group $group): Collection
36 36
     {
37
-        return $this->cache->rememberForever(static::class . '@getUsersThroughGroup:' . $group->id(), function() use ($group) {
37
+        return $this->cache->rememberForever(static::class.'@getUsersThroughGroup:'.$group->id(), function() use ($group) {
38 38
             return $this->userGroup->getUsersThroughGroup($group);
39 39
         });
40 40
     }
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      */
48 48
     public function getGroupsThroughUser(User $user): Collection
49 49
     {
50
-        return $this->cache->rememberForever(static::class . '@getGroupsThroughUser:' . $user->id(), function() use ($user) {
50
+        return $this->cache->rememberForever(static::class.'@getGroupsThroughUser:'.$user->id(), function() use ($user) {
51 51
             return $this->userGroup->getGroupsThroughUser($user);
52 52
         });    
53 53
     }
Please login to merge, or discard this patch.
src/Cache/DataUser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function getById(int $id): \BristolSU\ControlDB\Contracts\Models\DataUser
34 34
     {
35
-        return $this->cache->rememberForever(static::class . '@getById:' . $id, function() use ($id) {
35
+        return $this->cache->rememberForever(static::class.'@getById:'.$id, function() use ($id) {
36 36
             return $this->dataUserRepository->getById($id);
37 37
         });
38 38
     }
Please login to merge, or discard this patch.
src/Cache/DataRole.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function getById(int $id): \BristolSU\ControlDB\Contracts\Models\DataRole
34 34
     {
35
-        return $this->cache->rememberForever(static::class . '@getById:' . $id, function() use ($id) {
35
+        return $this->cache->rememberForever(static::class.'@getById:'.$id, function() use ($id) {
36 36
             return $this->dataRoleRepository->getById($id);
37 37
         });
38 38
     }
Please login to merge, or discard this patch.
src/Observers/DataRoleObserverClearCache.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(DataRole $oldDataRole, DataRole $newDataRole)
23 23
     {
24
-        $this->cache->forget(DataRoleCache::class . '@getById:' . $newDataRole->id());
24
+        $this->cache->forget(DataRoleCache::class.'@getById:'.$newDataRole->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/PositionObserverClearCache.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 create(PositionModel $positionModel)
23 23
     {
24
-        $this->cache->forget(PositionCache::class . '@count');
25
-        $this->cache->forget(PositionCache::class . '@getByDataProviderId:' . $positionModel->dataProviderId());
24
+        $this->cache->forget(PositionCache::class.'@count');
25
+        $this->cache->forget(PositionCache::class.'@getByDataProviderId:'.$positionModel->dataProviderId());
26 26
     }
27 27
 
28 28
     public function delete(PositionModel $position)
29 29
     {
30
-        $this->cache->forget(PositionCache::class . '@count');
31
-        $this->cache->forget(PositionCache::class . '@getById:' . $position->id());
32
-        $this->cache->forget(PositionCache::class . '@getByDataProviderId:' . $position->dataProviderId());
30
+        $this->cache->forget(PositionCache::class.'@count');
31
+        $this->cache->forget(PositionCache::class.'@getById:'.$position->id());
32
+        $this->cache->forget(PositionCache::class.'@getByDataProviderId:'.$position->dataProviderId());
33 33
     }
34 34
 
35 35
     public function update(PositionModel $oldPosition, PositionModel $newPosition)
36 36
     {
37
-        $this->cache->forget(PositionCache::class . '@count');
38
-        $this->cache->forget(PositionCache::class . '@getById:' . $newPosition->id());
39
-        $this->cache->forget(PositionCache::class . '@getByDataProviderId:' . $oldPosition->dataProviderId());
40
-        $this->cache->forget(PositionCache::class . '@getByDataProviderId:' . $newPosition->dataProviderId());
37
+        $this->cache->forget(PositionCache::class.'@count');
38
+        $this->cache->forget(PositionCache::class.'@getById:'.$newPosition->id());
39
+        $this->cache->forget(PositionCache::class.'@getByDataProviderId:'.$oldPosition->dataProviderId());
40
+        $this->cache->forget(PositionCache::class.'@getByDataProviderId:'.$newPosition->dataProviderId());
41 41
     }
42 42
     
43 43
 }
44 44
\ No newline at end of file
Please login to merge, or discard this patch.
src/Observers/DataGroupObserverClearCache.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(DataGroup $oldDataGroup, DataGroup $newDataGroup)
23 23
     {
24
-        $this->cache->forget(DataGroupCache::class . '@getById:' . $newDataGroup->id());
24
+        $this->cache->forget(DataGroupCache::class.'@getById:'.$newDataGroup->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/GroupObserverClearCache.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 create(GroupModel $groupModel)
23 23
     {
24
-        $this->cache->forget(GroupCache::class . '@count');
25
-        $this->cache->forget(GroupCache::class . '@getByDataProviderId:' . $groupModel->dataProviderId());
24
+        $this->cache->forget(GroupCache::class.'@count');
25
+        $this->cache->forget(GroupCache::class.'@getByDataProviderId:'.$groupModel->dataProviderId());
26 26
     }
27 27
 
28 28
     public function delete(GroupModel $group)
29 29
     {
30
-        $this->cache->forget(GroupCache::class . '@count');
31
-        $this->cache->forget(GroupCache::class . '@getById:' . $group->id());
32
-        $this->cache->forget(GroupCache::class . '@getByDataProviderId:' . $group->dataProviderId());
30
+        $this->cache->forget(GroupCache::class.'@count');
31
+        $this->cache->forget(GroupCache::class.'@getById:'.$group->id());
32
+        $this->cache->forget(GroupCache::class.'@getByDataProviderId:'.$group->dataProviderId());
33 33
     }
34 34
 
35 35
     public function update(GroupModel $oldGroup, GroupModel $newGroup)
36 36
     {
37
-        $this->cache->forget(GroupCache::class . '@count');
38
-        $this->cache->forget(GroupCache::class . '@getById:' . $newGroup->id());
39
-        $this->cache->forget(GroupCache::class . '@getByDataProviderId:' . $oldGroup->dataProviderId());
40
-        $this->cache->forget(GroupCache::class . '@getByDataProviderId:' . $newGroup->dataProviderId());
37
+        $this->cache->forget(GroupCache::class.'@count');
38
+        $this->cache->forget(GroupCache::class.'@getById:'.$newGroup->id());
39
+        $this->cache->forget(GroupCache::class.'@getByDataProviderId:'.$oldGroup->dataProviderId());
40
+        $this->cache->forget(GroupCache::class.'@getByDataProviderId:'.$newGroup->dataProviderId());
41 41
     }
42 42
     
43 43
 }
44 44
\ No newline at end of file
Please login to merge, or discard this patch.
src/Observers/UserObserverClearCache.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 create(UserModel $userModel)
23 23
     {
24
-        $this->cache->forget(UserCache::class . '@count');
25
-        $this->cache->forget(UserCache::class . '@getByDataProviderId:' . $userModel->dataProviderId());
24
+        $this->cache->forget(UserCache::class.'@count');
25
+        $this->cache->forget(UserCache::class.'@getByDataProviderId:'.$userModel->dataProviderId());
26 26
     }
27 27
 
28 28
     public function delete(UserModel $user)
29 29
     {
30
-        $this->cache->forget(UserCache::class . '@count');
31
-        $this->cache->forget(UserCache::class . '@getById:' . $user->id());
32
-        $this->cache->forget(UserCache::class . '@getByDataProviderId:' . $user->dataProviderId());
30
+        $this->cache->forget(UserCache::class.'@count');
31
+        $this->cache->forget(UserCache::class.'@getById:'.$user->id());
32
+        $this->cache->forget(UserCache::class.'@getByDataProviderId:'.$user->dataProviderId());
33 33
     }
34 34
 
35 35
     public function update(UserModel $oldUser, UserModel $newUser)
36 36
     {
37
-        $this->cache->forget(UserCache::class . '@count');
38
-        $this->cache->forget(UserCache::class . '@getById:' . $newUser->id());
39
-        $this->cache->forget(UserCache::class . '@getByDataProviderId:' . $oldUser->dataProviderId());
40
-        $this->cache->forget(UserCache::class . '@getByDataProviderId:' . $newUser->dataProviderId());
37
+        $this->cache->forget(UserCache::class.'@count');
38
+        $this->cache->forget(UserCache::class.'@getById:'.$newUser->id());
39
+        $this->cache->forget(UserCache::class.'@getByDataProviderId:'.$oldUser->dataProviderId());
40
+        $this->cache->forget(UserCache::class.'@getByDataProviderId:'.$newUser->dataProviderId());
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/RoleTagObserverClearCache.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(RoleTag $roleTag)
23 23
     {
24
-        $this->cache->forget(RoleTagCache::class . '@allThroughTagCategory:' . $roleTag->categoryId());
25
-        $this->cache->forget(RoleTagCache::class . '@getById:' . $roleTag->id());
26
-        $this->cache->forget(RoleTagCache::class . '@getTagByFullReference:' . $roleTag->fullReference());
24
+        $this->cache->forget(RoleTagCache::class.'@allThroughTagCategory:'.$roleTag->categoryId());
25
+        $this->cache->forget(RoleTagCache::class.'@getById:'.$roleTag->id());
26
+        $this->cache->forget(RoleTagCache::class.'@getTagByFullReference:'.$roleTag->fullReference());
27 27
     }
28 28
 
29 29
     public function create(RoleTag $roleTag)
30 30
     {
31
-        return $this->cache->forget(RoleTagCache::class . '@allThroughTagCategory:' . $roleTag->categoryId());
31
+        return $this->cache->forget(RoleTagCache::class.'@allThroughTagCategory:'.$roleTag->categoryId());
32 32
     }
33 33
 
34 34
     public function update(RoleTag $oldRoleTag, RoleTag $newRoleTag)
35 35
     {
36
-        $this->cache->forget(RoleTagCache::class . '@getById:' . $newRoleTag->id());
37
-        $this->cache->forget(RoleTagCache::class . '@getTagByFullReference:' . $oldRoleTag->fullReference());
38
-        $this->cache->forget(RoleTagCache::class . '@getTagByFullReference:' . $newRoleTag->fullReference());
39
-        $this->cache->forget(RoleTagCache::class . '@allThroughTagCategory:' . $oldRoleTag->categoryId());
40
-        $this->cache->forget(RoleTagCache::class . '@allThroughTagCategory:' . $newRoleTag->categoryId());        
36
+        $this->cache->forget(RoleTagCache::class.'@getById:'.$newRoleTag->id());
37
+        $this->cache->forget(RoleTagCache::class.'@getTagByFullReference:'.$oldRoleTag->fullReference());
38
+        $this->cache->forget(RoleTagCache::class.'@getTagByFullReference:'.$newRoleTag->fullReference());
39
+        $this->cache->forget(RoleTagCache::class.'@allThroughTagCategory:'.$oldRoleTag->categoryId());
40
+        $this->cache->forget(RoleTagCache::class.'@allThroughTagCategory:'.$newRoleTag->categoryId());        
41 41
     }
42 42
 
43 43
 }
44 44
\ No newline at end of file
Please login to merge, or discard this patch.