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
Pull Request — master (#5)
by Timothy
06:55
created
src/Context/WebApiContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
         parse_str(implode('&', explode("\n", $body)), $fields);
165 165
 
166 166
         foreach ($fields as $key => $value) {
167
-            if(is_array($value)) {
167
+            if (is_array($value)) {
168 168
                 foreach ($value as $formKey => $formValue) {
169 169
                     $requestFields[] = sprintf('%s%s=%s', urlencode($key), urlencode('[' . $formKey . ']'), urlencode($formValue));
170 170
                 }
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
 
242 242
         if (null === $expected) {
243 243
             throw new \RuntimeException(
244
-              "Can not convert expected to json:\n".$this->replacePlaceHolder($jsonString->getRaw())
244
+              "Can not convert expected to json:\n" . $this->replacePlaceHolder($jsonString->getRaw())
245 245
             );
246 246
         }
247 247
 
Please login to merge, or discard this patch.