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 = 10-11 lines in 2 locations

phpmyfaq/src/phpMyFAQ/Language.php 2 locations

@@ 291-300 (lines=10) @@
288
        $output = '';
289
        foreach (self::getAvailableLanguages() as $key => $value) {
290
            if ($onlyThisLang) {
291
                if (strtolower($key) == $lang) {
292
                    if ($fileLanguageValue) {
293
                        $output .= "\t<option value=\"language_".strtolower($lang).'.php"';
294
                    } else {
295
                        $output .= "\t<option value=\"".strtolower($lang).'"';
296
                    }
297
                    $output .= ' selected="selected"';
298
                    $output .= '>'.$value."</option>\n";
299
                    break;
300
                }
301
            } else {
302
                if ($fileLanguageValue) {
303
                    $output .= "\t<option value=\"language_".strtolower($key).'.php"';
@@ 301-311 (lines=11) @@
298
                    $output .= '>'.$value."</option>\n";
299
                    break;
300
                }
301
            } else {
302
                if ($fileLanguageValue) {
303
                    $output .= "\t<option value=\"language_".strtolower($key).'.php"';
304
                } else {
305
                    $output .= "\t<option value=\"".strtolower($key).'"';
306
                }
307
                if (strtolower($key) == $lang) {
308
                    $output .= ' selected="selected"';
309
                }
310
                $output .= '>'.$value."</option>\n";
311
            }
312
        }
313
314
        return $output;