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 ( 13526a...f52031 )
by Toby
14:25 queued 11s
created
app/Models/File.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                 return $activityInstance->id;
54 54
             });
55 55
         return $query->whereIn('activity_instance_id', $activityInstanceIds->toArray())
56
-            ->where('tags', 'LIKE', '%"' . $tag . '"%');
56
+            ->where('tags', 'LIKE', '%"'.$tag.'"%');
57 57
     }   
58 58
     
59 59
     /**
@@ -79,12 +79,12 @@  discard block
 block discarded – undo
79 79
 
80 80
     public function getStatusAttribute()
81 81
     {
82
-        if($this->statuses()->count() > 0) {
82
+        if ($this->statuses()->count() > 0) {
83 83
             return $this->statuses()->latest('created_at')->first()->status;
84 84
         }
85 85
         
86 86
         $statuses = Config::get('uploadfile.statuses');
87
-        if(!is_array($statuses) || count($statuses) === 0) {
87
+        if (!is_array($statuses) || count($statuses) === 0) {
88 88
             $default = 'Awaiting Approval';
89 89
         } else {
90 90
             $default = $statuses[0];
Please login to merge, or discard this patch.
app/Http/Controllers/ParticipantApi/OldFileController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
     public function index()
11 11
     {
12 12
         $files = collect();
13
-        foreach(settings('tags_to_merge', []) as $tag) {
14
-            foreach(File::withTag($tag)->get() as $file) {
13
+        foreach (settings('tags_to_merge', []) as $tag) {
14
+            foreach (File::withTag($tag)->get() as $file) {
15 15
                 $files->push($file);
16 16
             }
17 17
         }
Please login to merge, or discard this patch.