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

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