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 ( 311795...859c79 )
by Igor
06:22 queued 13s
created
src/Route4Me/Route4Me.php 1 patch
Switch Indentation   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -119,44 +119,44 @@
 block discarded – undo
119 119
             curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
120 120
         } else {
121 121
             switch ($method) {
122
-                case 'DELETE':
123
-                    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'DELETE');
124
-                    break;
125
-                case 'DELETEARRAY':
126
-                    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'DELETE');
127
-                    curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($query));
128
-                    break;
129
-                case 'PUT':
130
-                    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PUT');
131
-                    break;
132
-                case 'POST':
133
-                    if (isset($body)) {
134
-                        if (isset($options['HTTPHEADER'])
135
-                            && strpos($options['HTTPHEADER'], 'multipart/form-data') > 0) {
136
-                            $bodyData = $body;
137
-                        } else {
138
-                            $bodyData = json_encode($body);
139
-                        }
140
-                        curl_setopt($ch, CURLOPT_POST, 1);
141
-                        curl_setopt($ch, CURLOPT_POSTREDIR, 7);
142
-                        curl_setopt($ch, CURLOPT_POSTFIELDS, $bodyData);
143
-                    }
144
-                    break;
145
-                case 'ADD':
146
-                    curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($query));
147
-                    break;
148
-                case 'PATCH':
149
-                    if (isset($body)) {
122
+            case 'DELETE':
123
+                curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'DELETE');
124
+                break;
125
+            case 'DELETEARRAY':
126
+                curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'DELETE');
127
+                curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($query));
128
+                break;
129
+            case 'PUT':
130
+                curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PUT');
131
+                break;
132
+            case 'POST':
133
+                if (isset($body)) {
134
+                    if (isset($options['HTTPHEADER'])
135
+                        && strpos($options['HTTPHEADER'], 'multipart/form-data') > 0) {
136
+                        $bodyData = $body;
137
+                    } else {
150 138
                         $bodyData = json_encode($body);
151
-                        if (isset($options['HTTPHEADER'])) {
152
-                            if (strpos($options['HTTPHEADER'], 'multipart/form-data') > 0) {
153
-                                $bodyData = $body;
154
-                            }
139
+                    }
140
+                    curl_setopt($ch, CURLOPT_POST, 1);
141
+                    curl_setopt($ch, CURLOPT_POSTREDIR, 7);
142
+                    curl_setopt($ch, CURLOPT_POSTFIELDS, $bodyData);
143
+                }
144
+                break;
145
+            case 'ADD':
146
+                curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($query));
147
+                break;
148
+            case 'PATCH':
149
+                if (isset($body)) {
150
+                    $bodyData = json_encode($body);
151
+                    if (isset($options['HTTPHEADER'])) {
152
+                        if (strpos($options['HTTPHEADER'], 'multipart/form-data') > 0) {
153
+                            $bodyData = $body;
155 154
                         }
156
-                        curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PATCH');
157
-                        curl_setopt($ch, CURLOPT_POSTFIELDS, $bodyData);
158 155
                     }
159
-                    break;
156
+                    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PATCH');
157
+                    curl_setopt($ch, CURLOPT_POSTFIELDS, $bodyData);
158
+                }
159
+                break;
160 160
             }
161 161
 
162 162
             if (is_numeric(array_search($method, ['DELETE', 'PUT']))) {
Please login to merge, or discard this patch.