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.

Code Duplication    Length = 6-7 lines in 2 locations

src/Route4Me/Route4Me.php 2 locations

@@ 179-185 (lines=7) @@
176
177
        $isxml = FALSE;
178
        $jxml = "";
179
        if (strpos($result, '<?xml')>-1) {
180
            $xml = simplexml_load_string($result);
181
            //$jxml = json_encode($xml);
182
            $jxml = self::object2array($xml);
183
            $isxml = TRUE;
184
        }
185
        
186
        $code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
187
        curl_close($ch);
188
        
@@ 266-271 (lines=6) @@
263
        $isxml = FALSE;
264
        $jxml = "";
265
        
266
        if (strpos($result, '<?xml')>-1) {
267
            $xml = simplexml_load_string($result);
268
            $jxml = json_encode($xml);
269
            $isxml = TRUE;
270
        }
271
        
272
        $code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
273
        curl_close($ch);
274