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/inc/PMF/Language.php 2 locations

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