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

src/Api/ConnectionsModule.php 2 locations

@@ 166-171 (lines=6) @@
163
            return new ApiErrorResponse('connect', 'user or certificate does not exist');
164
        }
165
166
        if ($result['user_is_disabled']) {
167
            $msg = '[VPN] unable to connect, account is disabled';
168
            $this->storage->addUserMessage($result['user_id'], 'notification', $msg);
169
170
            return new ApiErrorResponse('connect', $msg);
171
        }
172
173
        if ($result['certificate_is_disabled']) {
174
            $msg = sprintf('[VPN] unable to connect, certificate "%s" is disabled', $result['display_name']);
@@ 173-178 (lines=6) @@
170
            return new ApiErrorResponse('connect', $msg);
171
        }
172
173
        if ($result['certificate_is_disabled']) {
174
            $msg = sprintf('[VPN] unable to connect, certificate "%s" is disabled', $result['display_name']);
175
            $this->storage->addUserMessage($result['user_id'], 'notification', $msg);
176
177
            return new ApiErrorResponse('connect', $msg);
178
        }
179
180
        return $this->verifyAcl($profileId, $result['user_id']);
181
    }