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

@@ 2640-2646 (lines=7) @@
2637
            $query .= ')';
2638
            $needAndOp = true;
2639
        }
2640
        if ((!empty($date)) && PMF_Utils::isLikeOnPMFDate($date)) {
2641
            if ($needAndOp) {
2642
                $query .= ' AND';
2643
            }
2644
            $query .= " fd.updated LIKE '".$date."'";
2645
            $needAndOp = true;
2646
        }
2647
        if ((!empty($lang)) && PMF_Utils::isLanguage($lang)) {
2648
            if ($needAndOp) {
2649
                $query .= ' AND';
@@ 2647-2653 (lines=7) @@
2644
            $query .= " fd.updated LIKE '".$date."'";
2645
            $needAndOp = true;
2646
        }
2647
        if ((!empty($lang)) && PMF_Utils::isLanguage($lang)) {
2648
            if ($needAndOp) {
2649
                $query .= ' AND';
2650
            }
2651
            $query .= " fd.lang = '".$lang."'";
2652
            $needAndOp = true;
2653
        }
2654
        switch ($QueryType) {
2655
            case FAQ_QUERY_TYPE_APPROVAL:
2656
                if ($needAndOp) {