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 ( 0e4df4...84c959 )
by Igor
01:44 queued 12s
created
src/Route4Me/Route4Me.php 1 patch
Switch Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -84,43 +84,43 @@
 block discarded – undo
84 84
             curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
85 85
         } else {
86 86
             switch ($method) {
87
-                case 'DELETE':
88
-                    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'DELETE');
89
-                    break;
90
-                case 'DELETEARRAY':
91
-                    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'DELETE');
92
-                    curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($query));
93
-                    break;
94
-                case 'PUT':
95
-                    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PUT');
96
-                    break;
97
-                case 'POST':
98
-                    if (isset($body)) {
99
-                        $bodyData = json_encode($body);
100
-                        if (isset($options['HTTPHEADER'])) {
101
-                            if (strpos($options['HTTPHEADER'], 'multipart/form-data') > 0) {
102
-                                $bodyData = $body;
103
-                            }
87
+            case 'DELETE':
88
+                curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'DELETE');
89
+                break;
90
+            case 'DELETEARRAY':
91
+                curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'DELETE');
92
+                curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($query));
93
+                break;
94
+            case 'PUT':
95
+                curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PUT');
96
+                break;
97
+            case 'POST':
98
+                if (isset($body)) {
99
+                    $bodyData = json_encode($body);
100
+                    if (isset($options['HTTPHEADER'])) {
101
+                        if (strpos($options['HTTPHEADER'], 'multipart/form-data') > 0) {
102
+                            $bodyData = $body;
104 103
                         }
105
-
106
-                        curl_setopt($ch, CURLOPT_POSTFIELDS, $bodyData);
107 104
                     }
108
-                    break;
109
-                case 'ADD':
110
-                    curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($query));
111
-                    break;
112
-                case 'PATCH':
113
-                    if (isset($body)) {
114
-                        $bodyData = json_encode($body);
115
-                        if (isset($options['HTTPHEADER'])) {
116
-                            if (strpos($options['HTTPHEADER'], 'multipart/form-data') > 0) {
117
-                                $bodyData = $body;
118
-                            }
105
+
106
+                    curl_setopt($ch, CURLOPT_POSTFIELDS, $bodyData);
107
+                }
108
+                break;
109
+            case 'ADD':
110
+                curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($query));
111
+                break;
112
+            case 'PATCH':
113
+                if (isset($body)) {
114
+                    $bodyData = json_encode($body);
115
+                    if (isset($options['HTTPHEADER'])) {
116
+                        if (strpos($options['HTTPHEADER'], 'multipart/form-data') > 0) {
117
+                            $bodyData = $body;
119 118
                         }
120
-                        curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PATCH');
121
-                        curl_setopt($ch, CURLOPT_POSTFIELDS, $bodyData);
122 119
                     }
123
-                    break;
120
+                    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PATCH');
121
+                    curl_setopt($ch, CURLOPT_POSTFIELDS, $bodyData);
122
+                }
123
+                break;
124 124
             }
125 125
 
126 126
             if (is_numeric(array_search($method, ['DELETE', 'PUT']))) {
Please login to merge, or discard this patch.