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 ( 5a1386...4cdae3 )
by Nick
03:27
created
src/Config.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@  discard block
 block discarded – undo
14 14
     ];
15 15
 
16 16
 
17
-    protected static $settings = [];
17
+    protected static $settings = [ ];
18 18
 
19
-    public static function setOptions(array $options = [])
19
+    public static function setOptions(array $options = [ ])
20 20
     {
21 21
         static::$settings = array_merge(static::$defaultOptions, $options);
22 22
 
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     public static function get(string $key)
27 27
     {
28
-        return static::$settings[$key];
28
+        return static::$settings[ $key ];
29 29
     }
30 30
 
31 31
 }
Please login to merge, or discard this patch.
src/Client.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 
95 95
     protected $accessToken;
96 96
 
97
-    public function __construct(array $options = [])
97
+    public function __construct(array $options = [ ])
98 98
     {
99 99
         Config::setOptions($options);
100 100
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         $this->httpClient = $client;
107 107
     }
108 108
 
109
-    protected function makeRequest(string $verb, string $uri, array $parameters = [])
109
+    protected function makeRequest(string $verb, string $uri, array $parameters = [ ])
110 110
     {
111 111
         $url = Config::get('productionApiUrl');
112 112
 
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 
117 117
         $url = $url . '/' . $uri;
118 118
 
119
-        $config['headers'] = [
119
+        $config[ 'headers' ] = [
120 120
             'Accept' => 'application/json',
121 121
             'Content-Type' => 'application/json',
122 122
             'Authorization' => 'Bearer ' . $this->getAccessToken(),
@@ -124,9 +124,9 @@  discard block
 block discarded – undo
124 124
 
125 125
         if (!empty($parameters)) {
126 126
             if (strtolower($verb) == 'get') {
127
-                $config['query'] = $parameters;
127
+                $config[ 'query' ] = $parameters;
128 128
             } else {
129
-                $config['json'] = $parameters;
129
+                $config[ 'json' ] = $parameters;
130 130
             }
131 131
         }
132 132
 
Please login to merge, or discard this patch.