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 ( 4b7930...e406d9 )
by François
02:07
created
example/callback.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
     $accessToken = $client->getAccessToken(
48 48
         $_SESSION['session'], // URI from session
49
-        $_GET['code'],        // the code value (e.g. 12345)
49
+        $_GET['code'], // the code value (e.g. 12345)
50 50
         $_GET['state']        // the state value (e.g. abcde)
51 51
     );
52 52
 
Please login to merge, or discard this patch.
example/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,10 +69,10 @@
 block discarded – undo
69 69
 
70 70
     $bearerClient = new BearerClient(
71 71
         $client,
72
-        function (AccessToken $accessToken) {
72
+        function(AccessToken $accessToken) {
73 73
             $_SESSION['access_token'] = $accessToken;
74 74
         },
75
-        function (AccessToken $accessToken) {
75
+        function(AccessToken $accessToken) {
76 76
             unset($_SESSION['access_token']);
77 77
         }
78 78
     );
Please login to merge, or discard this patch.
src/Http/CurlHttpClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
             CURLOPT_RETURNTRANSFER => true,
79 79
             CURLOPT_FOLLOWLOCATION => false,
80 80
             CURLOPT_PROTOCOLS => $this->httpsOnly ? CURLPROTO_HTTPS : CURLPROTO_HTTPS | CURLPROTO_HTTP,
81
-            CURLOPT_HEADERFUNCTION => function ($curlChannel, $headerData) use (&$headerList) {
81
+            CURLOPT_HEADERFUNCTION => function($curlChannel, $headerData) use (&$headerList) {
82 82
                 // XXX is this secure? mb_strlen?
83 83
                 if (false !== strpos($headerData, ':')) {
84 84
                     list($key, $value) = explode(':', $headerData, 2);
Please login to merge, or discard this patch.