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

phpmyfaq/inc/Bootstrap.php 1 location

@@ 91-94 (lines=4) @@
88
//
89
// Check if config/database.php exist -> if not, redirect to installer
90
//
91
if (!file_exists(PMF_CONFIG_DIR . '/database.php') && !file_exists(PMF_ROOT_DIR . '/inc/data.php')) {
92
    header("Location: install/setup.php");
93
    exit();
94
}
95
96
if (file_exists(PMF_ROOT_DIR . '/inc/data.php')) {
97
    require PMF_ROOT_DIR . '/inc/data.php';

phpmyfaq/install/update.php 1 location

@@ 42-48 (lines=7) @@
39
40
if (file_exists(PMF_ROOT_DIR.'/inc/data.php')) {
41
    require PMF_ROOT_DIR . '/inc/data.php'; // before 2.6.0-alpha
42
} else {
43
    if (!file_exists(PMF_ROOT_DIR . '/config/database.php')) {
44
        header("Location: setup.php");
45
        exit();
46
    }
47
    require PMF_ROOT_DIR . '/config/database.php'; // after 2.6.0-alpha
48
}
49
?>
50
<!doctype html>
51
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->