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
Branch master (520715)
by Toby
04:57
created
app/Http/Controllers/Controller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     public function authorize($ability, $arguments = [])
18 18
     {
19 19
         return $this->baseAuthorize(
20
-            'static-page.' . $ability,
20
+            'static-page.'.$ability,
21 21
             $arguments
22 22
         );
23 23
     }
Please login to merge, or discard this patch.
app/ModuleServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     
56 56
     public function baseDirectory()
57 57
     {
58
-        return __DIR__ . '/..';
58
+        return __DIR__.'/..';
59 59
     }
60 60
 
61 61
     public function boot()
Please login to merge, or discard this patch.
app/VueFields/HtmlField.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,6 @@
 block discarded – undo
14 14
      */
15 15
     public function getAppendedAttributes(): array
16 16
     {
17
-       return [];
17
+        return [];
18 18
     }
19 19
 }
20 20
\ No newline at end of file
Please login to merge, or discard this patch.
app/CompletionConditions/HasViewedPage.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,17 +23,17 @@
 block discarded – undo
23 23
      */
24 24
     public function isComplete($settings, ActivityInstance $activityInstance, ModuleInstance $moduleInstance): bool
25 25
     {
26
-        return PageView::forResource($activityInstance->id, $moduleInstance->id)->count() >= ( $settings['number_of_views'] ?? 1);
26
+        return PageView::forResource($activityInstance->id, $moduleInstance->id)->count() >= ($settings['number_of_views'] ?? 1);
27 27
     }
28 28
 
29 29
     public function percentage($settings, ActivityInstance $activityInstance, ModuleInstance $moduleInstance): int
30 30
     {
31 31
         $count = PageView::forResource($activityInstance->id, $moduleInstance->id)->count();
32
-        $needed = ( $settings['number_of_views'] ?? 1);
32
+        $needed = ($settings['number_of_views'] ?? 1);
33 33
         
34
-        $percentage = (int) round(($count/$needed) * 100, 0);
34
+        $percentage = (int) round(($count / $needed) * 100, 0);
35 35
         
36
-        if($percentage > 100) {
36
+        if ($percentage > 100) {
37 37
             return 100;
38 38
         }
39 39
         return $percentage;
Please login to merge, or discard this patch.