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

@@ 2510-2516 (lines=7) @@
2507
            $query .= ")";
2508
            $needAndOp = true;
2509
        }
2510
        if ((!empty($date)) && PMF_Utils::isLikeOnPMFDate($date)) {
2511
            if ($needAndOp) {
2512
                $query .= " AND";
2513
            }
2514
            $query .= " fd.datum LIKE '".$date."'";
2515
            $needAndOp = true;
2516
        }
2517
        if ((!empty($lang)) && PMF_Utils::isLanguage($lang)) {
2518
            if ($needAndOp) {
2519
                $query .= " AND";
@@ 2517-2523 (lines=7) @@
2514
            $query .= " fd.datum LIKE '".$date."'";
2515
            $needAndOp = true;
2516
        }
2517
        if ((!empty($lang)) && PMF_Utils::isLanguage($lang)) {
2518
            if ($needAndOp) {
2519
                $query .= " AND";
2520
            }
2521
            $query .= " fd.lang = '".$lang."'";
2522
            $needAndOp = true;
2523
        }
2524
        switch ($QueryType) {
2525
            case FAQ_QUERY_TYPE_APPROVAL:
2526
                if ($needAndOp) {