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

phpmyfaq/inc/PMF/Installer.php 2 locations

@@ 733-739 (lines=7) @@
730
        }
731
732
        // check LDAP if available
733
        if (extension_loaded('ldap') && !is_null($ldapEnabled)) {
734
            if (! $instanceSetup->createLdapFile($ldapSetup, '')) {
735
                echo "<p class=\"alert alert-danger\"><strong>Error:</strong> Setup cannot write to ./config/ldap.php.</p>";
736
                $this->_system->cleanInstallation();
737
                PMF_System::renderFooter(true);
738
            }
739
        }
740
741
        // connect to the database using config/database.php
742
        require PMF_ROOT_DIR . '/config/database.php';
@@ 800-808 (lines=9) @@
797
798
        // add admin account and rights
799
        $admin = new PMF_User($configuration);
800
        if (! $admin->createUser($loginname, $password, 1)) {
801
            printf(
802
                "<p class=\"alert alert-danger\"><strong>Fatal installation error:</strong><br>" .
803
                "Couldn't create the admin user: %s</p>\n",
804
                $admin->error()
805
            );
806
            $this->_system->cleanInstallation();
807
            PMF_System::renderFooter(true);
808
        }
809
        $admin->setStatus('protected');
810
        $adminData = array(
811
            'display_name' => $realname,