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.
Completed
Push — master ( 7776b1...87cfcb )
by Fabrice
01:51
created
tests/ClientTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -137,6 +137,12 @@
 block discarded – undo
137 137
         return Mockery::mock(HttpClient::class);
138 138
     }
139 139
 
140
+    /**
141
+     * @param Mockery\MockInterface $httpClient
142
+     * @param string $url
143
+     *
144
+     * @return HttpClient
145
+     */
140 146
     private function sendRequest($httpClient, $url, $inputs)
141 147
     {
142 148
         $httpClient
Please login to merge, or discard this patch.
src/Client.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
             'headers' => [
76 76
                 'Accept' => 'application/json',
77 77
                 'Content-Type' => 'application/json',
78
-                'Authorization' => 'Bearer ' . $this->accessToken,
78
+                'Authorization' => 'Bearer '.$this->accessToken,
79 79
             ],
80 80
             'json' => $body,
81 81
         ]);
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      */
91 91
     public function accessToken()
92 92
     {
93
-        $response = $this->client->request('POST', $this->baseUrl . '/token', [
93
+        $response = $this->client->request('POST', $this->baseUrl.'/token', [
94 94
             'headers' => [
95 95
                 'Accept' => 'application/json',
96 96
                 'Content-Type' => 'application/json',
Please login to merge, or discard this patch.