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 ( 00bfc7...d09317 )
by Pascal
12:02
created
src/Runner.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,10 +54,10 @@  discard block
 block discarded – undo
54 54
     public static function fromConfig(): Runner
55 55
     {
56 56
         return Collection::make(config('api-health.checkers'))
57
-            ->map(function ($checker): Executor {
57
+            ->map(function($checker): Executor {
58 58
                 return Executor::make($checker);
59 59
             })
60
-            ->pipe(function ($executors) {
60
+            ->pipe(function($executors) {
61 61
                 return new static($executors);
62 62
             });
63 63
     }
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 
116 116
         $this->passes = new Collection;
117 117
 
118
-        $this->executors->filter(function (Executor $executor) {
118
+        $this->executors->filter(function(Executor $executor) {
119 119
             if (!$this->scheduled) {
120 120
                 return true;
121 121
             }
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
             }
126 126
 
127 127
             return $executor->getChecker()->isDue();
128
-        })->each(function (Executor $executor) {
128
+        })->each(function(Executor $executor) {
129 129
             ($executor->fails() ? $this->failed : $this->passes)->push($executor);
130 130
         });
131 131
 
Please login to merge, or discard this patch.
src/Checkers/AllowsForRetries.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      *
34 34
      * @return null|string
35 35
      */
36
-    public function retryJob():  ? string
36
+    public function retryJob(): ? string
37 37
     {
38 38
         return $this->retryJob ?: config('api-health.retries.job.job');
39 39
     }
Please login to merge, or discard this patch.
src/Checkers/CheckerAllowsForRetries.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,5 +16,5 @@
 block discarded – undo
16 16
      *
17 17
      * @return null|string
18 18
      */
19
-    public function retryJob():  ? string;
19
+    public function retryJob(): ? string;
20 20
 }
Please login to merge, or discard this patch.
src/ApiHealthServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
             'command.make:ssl-certificate-checker',
62 62
         ]);
63 63
 
64
-        $this->app->singleton('laravel-api-health', function ($app) {
64
+        $this->app->singleton('laravel-api-health', function($app) {
65 65
             return $app->make(ApiHealthChecker::class);
66 66
         });
67 67
     }
Please login to merge, or discard this patch.
src/Listeners/SendsNotifications.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
             return;
20 20
         }
21 21
 
22
-        return tap($notification, function ($notification) {
22
+        return tap($notification, function($notification) {
23 23
             app(config('api-health.notifications.notifiable'))->notify($notification);
24 24
         });
25 25
     }
Please login to merge, or discard this patch.
src/Facades/ApiHealth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      */
28 28
     public static function fake()
29 29
     {
30
-        return tap(new ApiHealthFake, function ($fake) {
30
+        return tap(new ApiHealthFake, function($fake) {
31 31
             static::swap($fake);
32 32
         });
33 33
     }
Please login to merge, or discard this patch.
src/Console/RunCheckers.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         if ($passes->isNotEmpty()) {
46 46
             $this->line('');
47 47
             $this->info('Passing checkers:');
48
-            $this->table(['Checker'], $passes->map(function (Executor $executor) {
48
+            $this->table(['Checker'], $passes->map(function(Executor $executor) {
49 49
                 return [get_class($executor->getChecker())];
50 50
             }));
51 51
         }
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         if ($failed->isNotEmpty()) {
54 54
             $this->line('');
55 55
             $this->error('Failed checkers:');
56
-            $this->table(['Checker', 'Exception'], $failed->map(function (Executor $executor) {
56
+            $this->table(['Checker', 'Exception'], $failed->map(function(Executor $executor) {
57 57
                 return [
58 58
                     get_class($executor->getChecker()),
59 59
                     $executor->getException()->getMessage(),
Please login to merge, or discard this patch.