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 = 3-3 lines in 3 locations

phpmyfaq/src/phpMyFAQ/Linkverifier.php 3 locations

@@ 462-464 (lines=3) @@
459
            case '302': // Found (go recursive ?)
460
                return $this->openURL($url, $location, $redirectCount + 1);
461
                break;
462
            case 400:   // Bad Request
463
                return array(false, $redirectCount, sprintf($PMF_LANG['ad_linkcheck_openurl_ambiguous'].'<br>'.$httpStatusMsg, $code));
464
                break;
465
            case 404:   // Not found
466
                return array(false, $redirectCount, sprintf($PMF_LANG['ad_linkcheck_openurl_not_found'], $urlParts['host']));
467
                break;
@@ 469-471 (lines=3) @@
466
                return array(false, $redirectCount, sprintf($PMF_LANG['ad_linkcheck_openurl_not_found'], $urlParts['host']));
467
                break;
468
            case '300': // Multiple choices
469
            case '401': // Unauthorized (but it's there. right ?)
470
                return array(true, $redirectCount, sprintf($PMF_LANG['ad_linkcheck_openurl_ambiguous'], $code));
471
                break;
472
            case '405': // Method Not Allowed
473
                // TODO: Add a fallback to use GET method, otherwise this link should be marked as bad
474
                return array(true, $redirectCount, sprintf($PMF_LANG['ad_linkcheck_openurl_not_allowed'], $urlParts['host'], $allowVerbs));
@@ 476-478 (lines=3) @@
473
                // TODO: Add a fallback to use GET method, otherwise this link should be marked as bad
474
                return array(true, $redirectCount, sprintf($PMF_LANG['ad_linkcheck_openurl_not_allowed'], $urlParts['host'], $allowVerbs));
475
                break;
476
            default:    // All other statuses
477
                return array(false, $redirectCount, sprintf($PMF_LANG['ad_linkcheck_openurl_ambiguous'], $code));
478
                break;
479
        }
480
481
        return [false, $redirectCount, ''];