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

app/Repositories/Daemon/FileRepository.php 2 locations

@@ 74-76 (lines=3) @@
71
        $res = $this->server->guzzleClient()->request('GET', '/server/file/stat/' . rawurlencode($file->dirname . $file->basename));
72
73
        $stat = json_decode($res->getBody());
74
        if ($res->getStatusCode() !== 200 || ! isset($stat->size)) {
75
            throw new DisplayException('The daemon provided a non-200 error code on stat lookup: HTTP\\' . $res->getStatusCode());
76
        }
77
78
        if (! in_array($stat->mime, HelperRepository::editableFiles())) {
79
            throw new DisplayException('You cannot edit that type of file (' . $stat->mime . ') through the panel.');
@@ 89-91 (lines=3) @@
86
        $res = $this->server->guzzleClient()->request('GET', '/server/file/f/' . rawurlencode($file->dirname . $file->basename));
87
88
        $json = json_decode($res->getBody());
89
        if ($res->getStatusCode() !== 200 || ! isset($json->content)) {
90
            throw new DisplayException('The daemon provided a non-200 error code: HTTP\\' . $res->getStatusCode());
91
        }
92
93
        return [
94
            'file' => $json,