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

@@ 2664-2670 (lines=7) @@
2661
                break;
2662
            case FAQ_QUERY_TYPE_EXPORT_PDF:
2663
            case FAQ_QUERY_TYPE_EXPORT_XHTML:
2664
            case FAQ_QUERY_TYPE_EXPORT_XML:
2665
                if ($needAndOp) {
2666
                    $query .= ' AND';
2667
                }
2668
                $query .= " fd.active = '".FAQ_SQL_ACTIVE_YES."'";
2669
                $needAndOp = true;
2670
                break;
2671
            default:
2672
                if ($needAndOp) {
2673
                    $query .= ' AND';
@@ 2671-2677 (lines=7) @@
2668
                $query .= " fd.active = '".FAQ_SQL_ACTIVE_YES."'";
2669
                $needAndOp = true;
2670
                break;
2671
            default:
2672
                if ($needAndOp) {
2673
                    $query .= ' AND';
2674
                }
2675
                $query .= " fd.active = '".FAQ_SQL_ACTIVE_YES."'";
2676
                $needAndOp = true;
2677
                break;
2678
        }
2679
        // Sort criteria
2680
        switch ($QueryType) {