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

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