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 ( 224e53...94f430 )
by Toby
51:46 queued 18:11
created
src/Repositories/DataGroup.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     {
30 30
         $groups = $this->getAllWhere($attributes);
31 31
         
32
-        if($groups->count() > 0) {
32
+        if ($groups->count() > 0) {
33 33
             return $groups->first();
34 34
         }
35 35
         throw (new ModelNotFoundException())->setModel(DataGroup::class);
@@ -67,11 +67,11 @@  discard block
 block discarded – undo
67 67
             }
68 68
         }
69 69
         return \BristolSU\ControlDB\Models\DataGroup::where(function($query) use ($baseAttributes) {
70
-            foreach($baseAttributes as $key => $value) {
71
-                $query = $query->where($key, 'LIKE', '%' . $value . '%');
70
+            foreach ($baseAttributes as $key => $value) {
71
+                $query = $query->where($key, 'LIKE', '%'.$value.'%');
72 72
             }
73 73
             return $query;
74
-        })->get()->filter(function (\BristolSU\ControlDB\Models\DataGroup $dataGroup) use ($additionalAttributes) {
74
+        })->get()->filter(function(\BristolSU\ControlDB\Models\DataGroup $dataGroup) use ($additionalAttributes) {
75 75
             foreach ($additionalAttributes as $additionalAttribute => $value) {
76 76
                 if ($dataGroup->getAdditionalAttribute($additionalAttribute) !== $value) {
77 77
                     return false;
Please login to merge, or discard this patch.
src/Repositories/DataPosition.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     {
32 32
         $positions = $this->getAllWhere($attributes);
33 33
 
34
-        if($positions->count() > 0) {
34
+        if ($positions->count() > 0) {
35 35
             return $positions->first();
36 36
         }
37 37
         throw (new ModelNotFoundException())->setModel(DataPosition::class);
@@ -69,11 +69,11 @@  discard block
 block discarded – undo
69 69
             }
70 70
         }
71 71
         return \BristolSU\ControlDB\Models\DataPosition::where(function($query) use ($baseAttributes) {
72
-            foreach($baseAttributes as $key => $value) {
73
-                $query = $query->where($key, 'LIKE', '%' . $value . '%');
72
+            foreach ($baseAttributes as $key => $value) {
73
+                $query = $query->where($key, 'LIKE', '%'.$value.'%');
74 74
             }
75 75
             return $query;
76
-        })->get()->filter(function (\BristolSU\ControlDB\Models\DataPosition $dataPosition) use ($additionalAttributes) {
76
+        })->get()->filter(function(\BristolSU\ControlDB\Models\DataPosition $dataPosition) use ($additionalAttributes) {
77 77
             foreach ($additionalAttributes as $additionalAttribute => $value) {
78 78
                 if ($dataPosition->getAdditionalAttribute($additionalAttribute) !== $value) {
79 79
                     return false;
Please login to merge, or discard this patch.
src/Repositories/DataUser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -74,11 +74,11 @@
 block discarded – undo
74 74
             }
75 75
         }
76 76
         return \BristolSU\ControlDB\Models\DataUser::where(function($query) use ($baseAttributes) {
77
-            foreach($baseAttributes as $key => $value) {
78
-                $query = $query->where($key, 'LIKE', '%' . $value . '%');
77
+            foreach ($baseAttributes as $key => $value) {
78
+                $query = $query->where($key, 'LIKE', '%'.$value.'%');
79 79
             }
80 80
             return $query;
81
-        })->get()->filter(function (\BristolSU\ControlDB\Models\DataUser $dataUser) use ($additionalAttributes) {
81
+        })->get()->filter(function(\BristolSU\ControlDB\Models\DataUser $dataUser) use ($additionalAttributes) {
82 82
             foreach ($additionalAttributes as $additionalAttribute => $value) {
83 83
                 if ($dataUser->getAdditionalAttribute($additionalAttribute) !== $value) {
84 84
                     return false;
Please login to merge, or discard this patch.
src/Repositories/DataRole.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     {
32 32
         $roles = $this->getAllWhere($attributes);
33 33
 
34
-        if($roles->count() > 0) {
34
+        if ($roles->count() > 0) {
35 35
             return $roles->first();
36 36
         }
37 37
         throw (new ModelNotFoundException())->setModel(DataRole::class);
@@ -69,11 +69,11 @@  discard block
 block discarded – undo
69 69
             }
70 70
         }
71 71
         return \BristolSU\ControlDB\Models\DataRole::where(function($query) use ($baseAttributes) {
72
-            foreach($baseAttributes as $key => $value) {
73
-                $query = $query->where($key, 'LIKE', '%' . $value . '%');
72
+            foreach ($baseAttributes as $key => $value) {
73
+                $query = $query->where($key, 'LIKE', '%'.$value.'%');
74 74
             }
75 75
             return $query;
76
-        })->get()->filter(function (\BristolSU\ControlDB\Models\DataRole $dataRole) use ($additionalAttributes) {
76
+        })->get()->filter(function(\BristolSU\ControlDB\Models\DataRole $dataRole) use ($additionalAttributes) {
77 77
             foreach ($additionalAttributes as $additionalAttribute => $value) {
78 78
                 if ($dataRole->getAdditionalAttribute($additionalAttribute) !== $value) {
79 79
                     return false;
Please login to merge, or discard this patch.