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 3 locations

src/Resource/Async/Repository.php 2 locations

@@ 35-42 (lines=8) @@
32
     * @param int $id
33
     * @return PromiseInterface
34
     */
35
    public function build(int $id): PromiseInterface
36
    {
37
        return $this->getTransport()->request(
38
            'repos/' . $this->slug() . '/builds/' . $id
39
        )->then(function ($response) {
40
            return resolve($this->getTransport()->getHydrator()->hydrate('Build', $response['build']));
41
        });
42
    }
43
44
    /**
45
     * @return ObservableInterface
@@ 61-68 (lines=8) @@
58
    /**
59
     * @return PromiseInterface
60
     */
61
    public function settings(): PromiseInterface
62
    {
63
        return $this->getTransport()->request(
64
            'repos/' . $this->id() . '/settings'
65
        )->then(function ($response) {
66
            return resolve($this->getTransport()->getHydrator()->hydrate('Settings', $response['settings']));
67
        });
68
    }
69
70
    /**
71
     * @return PromiseInterface

src/Resource/Async/Build.php 1 location

@@ 33-40 (lines=8) @@
30
     * @param int $id
31
     * @return PromiseInterface
32
     */
33
    public function job(int $id): PromiseInterface
34
    {
35
        return $this->getTransport()->request(
36
            'jobs/' . $id
37
        )->then(function ($response) {
38
            return resolve($this->getTransport()->getHydrator()->hydrate('Job', $response['job']));
39
        });
40
    }
41
42
    public function refresh(): PromiseInterface
43
    {