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

@@ 2752-2758 (lines=7) @@
2749
            $query .= ')';
2750
            $needAndOp = true;
2751
        }
2752
        if ((!empty($date)) && PMF_Utils::isLikeOnPMFDate($date)) {
2753
            if ($needAndOp) {
2754
                $query .= ' AND';
2755
            }
2756
            $query .= " fd.updated LIKE '".$date."'";
2757
            $needAndOp = true;
2758
        }
2759
        if ((!empty($lang)) && PMF_Utils::isLanguage($lang)) {
2760
            if ($needAndOp) {
2761
                $query .= ' AND';
@@ 2759-2765 (lines=7) @@
2756
            $query .= " fd.updated LIKE '".$date."'";
2757
            $needAndOp = true;
2758
        }
2759
        if ((!empty($lang)) && PMF_Utils::isLanguage($lang)) {
2760
            if ($needAndOp) {
2761
                $query .= ' AND';
2762
            }
2763
            $query .= " fd.lang = '".$lang."'";
2764
            $needAndOp = true;
2765
        }
2766
        switch ($QueryType) {
2767
            case FAQ_QUERY_TYPE_APPROVAL:
2768
                if ($needAndOp) {