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

@@ 157-162 (lines=6) @@
154
            return new ApiErrorResponse('connect', 'user or certificate does not exist');
155
        }
156
157
        if ($result['user_is_disabled']) {
158
            $msg = '[VPN] unable to connect, account is disabled';
159
            $this->storage->addUserMessage($result['user_id'], 'notification', $msg);
160
161
            return new ApiErrorResponse('connect', $msg);
162
        }
163
164
        if ($result['certificate_is_disabled']) {
165
            $msg = sprintf('[VPN] unable to connect, certificate "%s" is disabled', $result['display_name']);
@@ 164-169 (lines=6) @@
161
            return new ApiErrorResponse('connect', $msg);
162
        }
163
164
        if ($result['certificate_is_disabled']) {
165
            $msg = sprintf('[VPN] unable to connect, certificate "%s" is disabled', $result['display_name']);
166
            $this->storage->addUserMessage($result['user_id'], 'notification', $msg);
167
168
            return new ApiErrorResponse('connect', $msg);
169
        }
170
171
        return $this->verifyAcl($profileId, $result['user_id']);
172
    }