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.
Test Setup Failed
Push — master ( 9ca49b...b8e87e )
by cao
02:48
created
src/RPC/RpcProxy.php 1 patch
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
             $op = $this->http->sendAsync($request);
55 55
             $res = MultiRpc::wait($op);
56 56
             return $this->mapResponse($method, $route, $res, $args);
57
-        }else{
57
+        } else{
58 58
             $res = $this->http->send($request);
59 59
             return $this->mapResponse($method, $route, $res, $args);
60 60
         }
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
                     $query[$k] = $v;
136 136
                 }
137 137
             }
138
-        }else{
138
+        } else{
139 139
             foreach ($request as $k => $v){
140 140
                 if(!in_array($k, ['query', 'request', 'files', 'cookies', 'headers'])){
141 141
                     if($body === null){
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
         $uri = $this->uriPrefix.ltrim($uri, '/');
152 152
         if(strpos($uri,'?') === false){
153 153
             $uri = $uri.'?'.http_build_query($query);
154
-        }else{
154
+        } else{
155 155
             $uri = $uri.'&'.http_build_query($query);
156 156
         }
157 157
         return new \GuzzleHttp\Psr7\Request(
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
                 ArrayHelper::set($mapping, $return->source, $data);
213 213
             }
214 214
 
215
-        }else{
215
+        } else{
216 216
 
217 217
             //TODO 如果多个 异常对应同一个 statusCode 怎么处理
218 218
             $exceptions = $route->getExceptionHandler()->getExceptions();
Please login to merge, or discard this patch.