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 Failed
Push — master ( e5b8eb...47d764 )
by Igor
01:54 queued 12s
created
src/Route4Me/Route4Me.php 1 patch
Switch Indentation   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -119,42 +119,42 @@
 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
-                        $bodyData = json_encode($body);
135
-                        if (isset($options['HTTPHEADER'])) {
136
-                            if (strpos($options['HTTPHEADER'], 'multipart/form-data') > 0) {
137
-                                $bodyData = $body;
138
-                            }
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
+                    $bodyData = json_encode($body);
135
+                    if (isset($options['HTTPHEADER'])) {
136
+                        if (strpos($options['HTTPHEADER'], 'multipart/form-data') > 0) {
137
+                            $bodyData = $body;
139 138
                         }
140
-                        curl_setopt($ch, CURLOPT_POSTFIELDS, $bodyData);
141 139
                     }
142
-                    break;
143
-                case 'ADD':
144
-                    curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($query));
145
-                    break;
146
-                case 'PATCH':
147
-                    if (isset($body)) {
148
-                        $bodyData = json_encode($body);
149
-                        if (isset($options['HTTPHEADER'])) {
150
-                            if (strpos($options['HTTPHEADER'], 'multipart/form-data') > 0) {
151
-                                $bodyData = $body;
152
-                            }
140
+                    curl_setopt($ch, CURLOPT_POSTFIELDS, $bodyData);
141
+                }
142
+                break;
143
+            case 'ADD':
144
+                curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($query));
145
+                break;
146
+            case 'PATCH':
147
+                if (isset($body)) {
148
+                    $bodyData = json_encode($body);
149
+                    if (isset($options['HTTPHEADER'])) {
150
+                        if (strpos($options['HTTPHEADER'], 'multipart/form-data') > 0) {
151
+                            $bodyData = $body;
153 152
                         }
154
-                        curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PATCH');
155
-                        curl_setopt($ch, CURLOPT_POSTFIELDS, $bodyData);
156 153
                     }
157
-                    break;
154
+                    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PATCH');
155
+                    curl_setopt($ch, CURLOPT_POSTFIELDS, $bodyData);
156
+                }
157
+                break;
158 158
             }
159 159
 
160 160
             if (is_numeric(array_search($method, ['DELETE', 'PUT']))) {
Please login to merge, or discard this patch.