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

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