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

install/lib/class.installer.php 2 locations

@@ 100-112 (lines=13) @@
97
98
            // Check essential server requirements
99
            $errors = self::__checkRequirements();
100
            if (!empty($errors)) {
101
                Symphony::Log()->error('Installer - Missing requirements.');
102
103
                foreach ($errors as $err) {
104
                    Symphony::Log()->error(
105
                        sprintf('Requirement - %s', $err['msg'])
106
                    );
107
                }
108
109
                self::__render(new InstallerPage('requirements', array(
110
                    'errors'=> $errors
111
                )));
112
            }
113
114
            // If language is not set and there is language packs available, show language selection pages
115
            if (!isset($_POST['lang']) && count(Lang::getAvailableLanguages(false)) > 1) {
@@ 122-136 (lines=15) @@
119
            // Check for configuration errors and, if there are no errors, install Symphony!
120
            if (isset($_POST['fields'])) {
121
                $errors = self::__checkConfiguration();
122
                if (!empty($errors)) {
123
                    Symphony::Log()->error('Installer - Wrong configuration.');
124
125
                    foreach ($errors as $err) {
126
                        Symphony::Log()->error(
127
                            sprintf('Configuration - %s', $err['msg'])
128
                        );
129
                    }
130
                } else {
131
                    $disabled_extensions = self::__install();
132
133
                    self::__render(new InstallerPage('success', array(
134
                        'disabled-extensions' => $disabled_extensions
135
                    )));
136
                }
137
            }
138
139
            // Display the Installation page