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

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