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-8 lines in 2 locations

phpmyfaq/news.php 1 location

@@ 85-91 (lines=7) @@
82
$newsHeader = $oGlossary->insertItemsIntoContent($newsHeader);
83
84
// Add information link if existing
85
if (strlen($news['link']) > 0) {
86
    $newsContent .= sprintf('</p><p>%s<a href="%s" target="%s">%s</a>',
87
        $PMF_LANG['msgInfo'],
88
        $news['link'],
89
        $news['target'],
90
        $news['linkTitle']);
91
}
92
93
// Show link to edit the news?
94
$editThisEntry = '';

phpmyfaq/src/phpMyFAQ/News.php 1 location

@@ 188-195 (lines=8) @@
185
186
            $output .= sprintf('%s', $item['content']);
187
188
            if (strlen($item['link']) > 1) {
189
                $output .= sprintf(
190
                    '<br />%s <a href="%s" target="_%s">%s</a>',
191
                    $this->pmf_lang['msgInfo'],
192
                    $item['link'],
193
                    $item['target'],
194
                    $item['linkTitle']);
195
            }
196
197
            $output .= sprintf(
198
                '<small class="text-muted">%s</small>',