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

phpmyfaq/src/phpMyFAQ/Installer.php 2 locations

@@ 488-497 (lines=10) @@
485
            System::renderFooter();
486
        }
487
488
        if (!$this->system->checkDatabase()) {
489
            echo '<p class="alert alert-danger">No supported database detected! Please install one of the following'.
490
                ' database systems and enable the corresponding PHP extension in php.ini:</p>';
491
            echo '<ul>';
492
            foreach ($this->system->getSupportedDatabases() as $database) {
493
                printf('    <li>%s</li>', $database[1]);
494
            }
495
            echo '</ul>';
496
            System::renderFooter();
497
        }
498
499
        if (!$this->system->checkRequiredExtensions()) {
500
            echo '<p class="alert alert-danger">The following extensions are missing! Please enable the PHP extension(s) in '.
@@ 499-508 (lines=10) @@
496
            System::renderFooter();
497
        }
498
499
        if (!$this->system->checkRequiredExtensions()) {
500
            echo '<p class="alert alert-danger">The following extensions are missing! Please enable the PHP extension(s) in '.
501
                'php.ini.</p>';
502
            echo '<ul>';
503
            foreach ($this->system->getMissingExtensions() as $extension) {
504
                printf('    <li>ext/%s</li>', $extension);
505
            }
506
            echo '</ul>';
507
            System::renderFooter();
508
        }
509
510
        if (!$this->system->checkphpMyFAQInstallation()) {
511
            echo '<p class="alert alert-danger">The file <code>config/database.php</code> was detected. It seems'.