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/sitemap.xml.php 1 location

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

phpmyfaq/feed/category/rss.php 1 location

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

phpmyfaq/feed/news/rss.php 1 location

@@ 108-114 (lines=7) @@
105
    foreach ($rssData as $item) {
106
        // Get the url
107
        $link = '/index.php?action=news&newsid='.$item['id'].'&newslang='.$item['lang'];
108
        if (PMF_RSS_USE_SEO) {
109
            if (isset($item['header'])) {
110
                $oLink = new PMF_Link($link, $faqConfig);
111
                $oLink->itemTitle = $item['header'];
112
                $link = $oLink->toString();
113
            }
114
        }
115
116
        $rss->startElement('item');
117
        $rss->writeElement('title', html_entity_decode($item['header'], ENT_COMPAT, 'UTF-8'));