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 ( 5c7335...4ec6f6 )
by Martin
05:22
created
src/Provider/Http/DeviceAtlasCom.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -109,20 +109,20 @@
 block discarded – undo
109 109
          * no json returned?
110 110
          */
111 111
         $contentType = $response->getHeader('Content-Type');
112
-        if (! isset($contentType[0]) || $contentType[0] != 'application/json; charset=UTF-8') {
112
+        if (!isset($contentType[0]) || $contentType[0] != 'application/json; charset=UTF-8') {
113 113
             throw new Exception\RequestException('Could not get valid "application/json" response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
114 114
         }
115 115
 
116 116
         $content = json_decode($response->getBody()->getContents());
117 117
 
118
-        if (! $content instanceof stdClass || ! isset($content->properties)) {
118
+        if (!$content instanceof stdClass || !isset($content->properties)) {
119 119
             throw new Exception\RequestException('Could not get valid response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
120 120
         }
121 121
 
122 122
         /*
123 123
          * No result found?
124 124
          */
125
-        if (! $content->properties instanceof stdClass || count((array) $content->properties) === 0) {
125
+        if (!$content->properties instanceof stdClass || count((array) $content->properties) === 0) {
126 126
             throw new Exception\NoResultFoundException('No result found for user agent: ' . $userAgent);
127 127
         }
128 128
 
Please login to merge, or discard this patch.