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

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