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 ( 082b56...6d6e6a )
by
unknown
03:51
created
src/Middleware/CacheWithVarnish.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
         return $response->withHeaders([
14 14
             config('varnish.cacheable_header_name') => '1',
15
-            'Cache-Control' => 'public, max-age='. 60 * ($cacheTimeInMinutes ?? config('varnish.cache_time_in_minutes')),
15
+            'Cache-Control' => 'public, max-age='.60 * ($cacheTimeInMinutes ?? config('varnish.cache_time_in_minutes')),
16 16
         ]);
17 17
     }
18 18
 }
Please login to merge, or discard this patch.
src/Varnish.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
         $host = $host ?? config('varnish.host');
33 33
 
34
-        if (! is_array($host)) {
34
+        if (!is_array($host)) {
35 35
             $host = [$host];
36 36
         }
37 37
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     public function generateBanCommand(array $hosts, string $url = null): string
47 47
     {
48 48
         $hostsRegex = collect($hosts)
49
-            ->map(function (string $host) {
49
+            ->map(function(string $host) {
50 50
                 return "(^{$host}$)";
51 51
             })
52 52
             ->implode('|');
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         $config = config('varnish');
55 55
 
56 56
         $urlRegex = '';
57
-        if (! empty($url)) {
57
+        if (!empty($url)) {
58 58
             $urlRegex = " && req.url ~ {$url}";
59 59
         }
60 60
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
         $process->run();
69 69
 
70
-        if (! $process->isSuccessful()) {
70
+        if (!$process->isSuccessful()) {
71 71
             throw new ProcessFailedException($process);
72 72
         }
73 73
 
Please login to merge, or discard this patch.