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

phpmyfaq/admin/index.php 1 location

@@ 142-149 (lines=8) @@
139
    if (!is_null($faqremember) && 'rememberMe' === $faqremember) {
140
        $user->enableRememberMe();
141
    }
142
    if ($faqConfig->get('ldap.ldapSupport') && function_exists('ldap_connect')) {
143
        try {
144
            $authLdap = new Ldap($faqConfig);
145
            $user->addAuth($authLdap, 'ldap');
146
        } catch (Exception $e) {
147
            $error = $e->getMessage().'<br>';
148
        }
149
    }
150
    if ($faqConfig->get('security.ssoSupport')) {
151
        $authSso = new Sso($faqConfig);
152
        $user->addAuth($authSso, 'sso');

phpmyfaq/index.php 1 location

@@ 128-135 (lines=8) @@
125
    if (!is_null($faqremember) && 'rememberMe' === $faqremember) {
126
        $user->enableRememberMe();
127
    }
128
    if ($faqConfig->get('ldap.ldapSupport') && function_exists('ldap_connect')) {
129
        try {
130
            $authLdap = new AuthLdap($faqConfig);
131
            $user->addAuth($authLdap, 'ldap');
132
        } catch (Exception $e) {
133
            $error = $e->getMessage().'<br>';
134
        }
135
    }
136
    if ($faqConfig->get('security.ssoSupport')) {
137
        $authSso = new AuthSso($faqConfig);
138
        $user->addAuth($authSso, 'sso');