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

phpmyfaq/src/phpMyFAQ/User/CurrentUser.php 2 locations

@@ 168-172 (lines=5) @@
165
        // Additional code for SSO
166
        if ($this->config->get('security.ssoSupport') && isset($_SERVER['REMOTE_USER']) && '' === $password) {
167
            // if SSO configuration is enabled, REMOTE_USER is provided and we try to login using SSO (no password)
168
            if (($pos = strpos($login, '@')) !== false) {
169
                if ($pos !== 0) {
170
                    $login = substr($login, 0, $pos);
171
                }
172
            }
173
            if (($pos = strpos($login, '\\')) !== false) {
174
                if ($pos !== 0) {
175
                    $login = substr($login, $pos + 1);
@@ 173-177 (lines=5) @@
170
                    $login = substr($login, 0, $pos);
171
                }
172
            }
173
            if (($pos = strpos($login, '\\')) !== false) {
174
                if ($pos !== 0) {
175
                    $login = substr($login, $pos + 1);
176
                }
177
            }
178
        }
179
180
        // authenticate user by login and password