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/src/phpMyFAQ/Faq.php 2 locations

@@ 2647-2653 (lines=7) @@
2644
            $query .= ')';
2645
            $needAndOp = true;
2646
        }
2647
        if ((!empty($date)) && Utils::isLikeOnPMFDate($date)) {
2648
            if ($needAndOp) {
2649
                $query .= ' AND';
2650
            }
2651
            $query .= " fd.updated LIKE '".$date."'";
2652
            $needAndOp = true;
2653
        }
2654
        if ((!empty($lang)) && Utils::isLanguage($lang)) {
2655
            if ($needAndOp) {
2656
                $query .= ' AND';
@@ 2654-2660 (lines=7) @@
2651
            $query .= " fd.updated LIKE '".$date."'";
2652
            $needAndOp = true;
2653
        }
2654
        if ((!empty($lang)) && Utils::isLanguage($lang)) {
2655
            if ($needAndOp) {
2656
                $query .= ' AND';
2657
            }
2658
            $query .= " fd.lang = '".$lang."'";
2659
            $needAndOp = true;
2660
        }
2661
        switch ($queryType) {
2662
            case FAQ_QUERY_TYPE_APPROVAL:
2663
                if ($needAndOp) {