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

phpmyfaq/inc/PMF/Faq.php 2 locations

@@ 2718-2724 (lines=7) @@
2715
            $query .= ')';
2716
            $needAndOp = true;
2717
        }
2718
        if ((!empty($date)) && PMF_Utils::isLikeOnPMFDate($date)) {
2719
            if ($needAndOp) {
2720
                $query .= ' AND';
2721
            }
2722
            $query .= " fd.updated LIKE '".$date."'";
2723
            $needAndOp = true;
2724
        }
2725
        if ((!empty($lang)) && PMF_Utils::isLanguage($lang)) {
2726
            if ($needAndOp) {
2727
                $query .= ' AND';
@@ 2725-2731 (lines=7) @@
2722
            $query .= " fd.updated LIKE '".$date."'";
2723
            $needAndOp = true;
2724
        }
2725
        if ((!empty($lang)) && PMF_Utils::isLanguage($lang)) {
2726
            if ($needAndOp) {
2727
                $query .= ' AND';
2728
            }
2729
            $query .= " fd.lang = '".$lang."'";
2730
            $needAndOp = true;
2731
        }
2732
        switch ($QueryType) {
2733
            case FAQ_QUERY_TYPE_APPROVAL:
2734
                if ($needAndOp) {