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 = 12-14 lines in 4 locations

src/DropboxClient.php 4 locations

@@ 56-67 (lines=12) @@
53
        return json_decode($response->getBody(), true);
54
    }
55
56
    public function delete(string $path): array
57
    {
58
        $path = $this->normalizePath($path);
59
60
        $response = $this->client->post('files/delete', [
61
            'json' => [
62
                'path' => $path,
63
            ]
64
        ]);
65
66
        return json_decode($response->getBody(), true);
67
    }
68
69
    /**
70
     * @param string $path
@@ 91-102 (lines=12) @@
88
        return $result;
89
    }
90
91
    public function getMetadata(string $path)
92
    {
93
        $path = $this->normalizePath($path);
94
95
        $response = $this->client->post('files/get_metadata', [
96
            'json' => [
97
                'path' => $path,
98
            ]
99
        ]);
100
101
        return json_decode($response->getBody(), true);
102
    }
103
104
    public function listContents($path = '', $recursive = false): array
105
    {
@@ 104-116 (lines=13) @@
101
        return json_decode($response->getBody(), true);
102
    }
103
104
    public function listContents($path = '', $recursive = false): array
105
    {
106
        $path = $this->normalizePath($path);
107
108
        $response = $this->client->post('files/list_folder', [
109
            'json' => [
110
                'path' => $path,
111
                'recursive' => $recursive,
112
            ]
113
        ]);
114
115
        return json_decode($response->getBody(), true);
116
    }
117
118
    public function getTemporaryLink(string $path): string
119
    {
@@ 118-131 (lines=14) @@
115
        return json_decode($response->getBody(), true);
116
    }
117
118
    public function getTemporaryLink(string $path): string
119
    {
120
        $path = $this->normalizePath($path);
121
122
        $response = $this->client->post('files/get_temporary_link', [
123
            'json' => [
124
                'path' => $path,
125
            ],
126
        ]);
127
128
        $body = json_decode($response->getBody(), true);
129
130
        return $body['link'];
131
    }
132
133
    public function getThumbnail(string $path, string $format = 'jpeg', string $size = 'w64h64'): string
134
    {