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 ( 32d930...beccb4 )
by Martin
04:20
created
src/Provider/Http/NeutrinoApiCom.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
          * no json returned?
127 127
          */
128 128
         $contentType = $response->getHeader('Content-Type');
129
-        if (! isset($contentType[0]) || $contentType[0] != 'application/json;charset=UTF-8') {
129
+        if (!isset($contentType[0]) || $contentType[0] != 'application/json;charset=UTF-8') {
130 130
             throw new Exception\RequestException('Could not get valid "application/json" response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
131 131
         }
132 132
 
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
         /*
156 156
          * Missing data?
157 157
          */
158
-        if (! $content instanceof stdClass) {
158
+        if (!$content instanceof stdClass) {
159 159
             throw new Exception\RequestException('Could not get valid response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
160 160
         }
161 161
 
Please login to merge, or discard this patch.
src/Provider/Http/UserAgentStringCom.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,13 +103,13 @@
 block discarded – undo
103 103
          * no json returned?
104 104
          */
105 105
         $contentType = $response->getHeader('Content-Type');
106
-        if (! isset($contentType[0]) || $contentType[0] != 'application/json') {
106
+        if (!isset($contentType[0]) || $contentType[0] != 'application/json') {
107 107
             throw new Exception\RequestException('Could not get valid "application/json" response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
108 108
         }
109 109
 
110 110
         $content = json_decode($response->getBody()->getContents());
111 111
 
112
-        if (! $content instanceof stdClass) {
112
+        if (!$content instanceof stdClass) {
113 113
             throw new Exception\RequestException('Could not get valid response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
114 114
         }
115 115
 
Please login to merge, or discard this patch.
src/Provider/Http/WhatIsMyBrowserCom.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
          * no json returned?
108 108
          */
109 109
         $contentType = $response->getHeader('Content-Type');
110
-        if (! isset($contentType[0]) || $contentType[0] != 'application/json') {
110
+        if (!isset($contentType[0]) || $contentType[0] != 'application/json') {
111 111
             throw new Exception\RequestException('Could not get valid "application/json" response from "' . $request->getUri() . '". Response is "' . $response->getBody()->getContents() . '"');
112 112
         }
113 113
 
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
         /*
146 146
          * Missing data?
147 147
          */
148
-        if (! $content instanceof stdClass || ! isset($content->parse) || ! $content->parse instanceof stdClass) {
148
+        if (!$content instanceof stdClass || !isset($content->parse) || !$content->parse instanceof stdClass) {
149 149
             throw new Exception\RequestException('Could not get valid response from "' . $request->getUri() . '". Response is "' . print_r($content, true) . '"');
150 150
         }
151 151
 
Please login to merge, or discard this patch.
src/Provider/Wurfl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
     public function getUpdateDate()
100 100
     {
101 101
         // 2015-10-16 11:09:44 -0400
102
-        $lastUpdated  = $this->getParser()->getWurflInfo()->lastUpdated;
102
+        $lastUpdated = $this->getParser()->getWurflInfo()->lastUpdated;
103 103
 
104 104
         if ($lastUpdated == '') {
105 105
             return;
Please login to merge, or discard this patch.