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 3 locations

phpmyfaq/feed/category/rss.php 1 location

@@ 123-129 (lines=7) @@
120
121
        $link = str_replace($_SERVER['SCRIPT_NAME'], '/index.php', $item['record_link']);
122
123
        if (PMF_RSS_USE_SEO) {
124
            if (isset($item['record_title'])) {
125
                $oLink            = new PMF_Link($link, $faqConfig);
126
                $oLink->itemTitle = $item['record_title'];
127
                $link             = $oLink->toString();
128
           }
129
        }
130
131
        $rss->startElement('item');
132
        $rss->writeElement('title', html_entity_decode($item['record_title'] .

phpmyfaq/feed/news/rss.php 1 location

@@ 79-85 (lines=7) @@
76
    foreach ($rssData as $item) {
77
        // Get the url
78
        $link = '/index.php?action=news&newsid=' . $item['id'] . '&newslang=' . $item['lang'];
79
        if (PMF_RSS_USE_SEO) {
80
            if (isset($item['header'])) {
81
                $oLink            = new PMF_Link($link, $faqConfig);
82
                $oLink->itemTitle = $item['header'];
83
                $link             = $oLink->toString();
84
            }
85
        }
86
87
        $rss->startElement('item');
88
        $rss->writeElement('title', html_entity_decode($item['header'], ENT_COMPAT, 'UTF-8'));

phpmyfaq/sitemap.xml.php 1 location

@@ 128-134 (lines=7) @@
125
    // a. We use plain PMF urls w/o any SEO schema
126
    $link = str_replace($_SERVER['SCRIPT_NAME'], '/index.php', $item['url']);
127
    // b. We use SEO PMF urls
128
    if (PMF_SITEMAP_GOOGLE_USE_SEO) {
129
        if (isset($item['thema'])) {
130
            $oL = new PMF_Link($link, $faqConfig);
131
            $oL->itemTitle = $item['thema'];
132
            $link = $oL->toString();
133
        }
134
    }
135
    $sitemap .= buildSitemapNode(
136
        $faqConfig->get('main.referenceURL').$link,
137
        PMF_Date::createIsoDate($item['date'], DATE_W3C),