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

src/GlLinkChecker.php 2 locations

@@ 139-146 (lines=8) @@
136
    {
137
        $result = [];
138
139
        foreach ($urlerrors as $urlerror) {
140
            $response = $this->client->get($urlerror, ['exceptions' => false]);
141
            if ($response->getStatusCode() != 404) {
142
                $result["404"]["error"][] = $urlerror;
143
            } else {
144
                $result["404"]["ok"][] = $urlerror;
145
            }
146
        }
147
148
        foreach ($urlforbiddens as $urlforbidden) {
149
            $response = $this->client->get($urlforbidden, ['exceptions' => false]);
@@ 148-155 (lines=8) @@
145
            }
146
        }
147
148
        foreach ($urlforbiddens as $urlforbidden) {
149
            $response = $this->client->get($urlforbidden, ['exceptions' => false]);
150
            if ($response->getStatusCode() != 403) {
151
                $result["403"]["error"][] = $urlforbidden;
152
            } else {
153
                $result["403"]["ok"][] = $urlforbidden;
154
            }
155
        }
156
157
        return $result;
158
    }