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 = 9-10 lines in 4 locations

src/Client.php 4 locations

@@ 84-92 (lines=9) @@
81
     *
82
     * @link https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings
83
     */
84
    public function createSharedLinkWithSettings(string $path, array $settings = [])
85
    {
86
        $parameters = [
87
            'path' => $this->normalizePath($path),
88
            'settings' => $settings,
89
        ];
90
91
        return $this->rpcEndpointRequest('sharing/create_shared_link_with_settings', $parameters);
92
    }
93
94
    /**
95
     * List shared links.
@@ 102-111 (lines=10) @@
99
     *
100
     * @link https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links
101
     */
102
    public function listSharedLinks(string $path): array
103
    {
104
        $parameters = [
105
            'path' => $this->normalizePath($path),
106
        ];
107
108
        $body = $this->rpcEndpointRequest('sharing/list_shared_links', $parameters);
109
110
        return $body['links'];
111
    }
112
113
    /**
114
     * Delete the file or folder at a given path.
@@ 174-183 (lines=10) @@
171
     *
172
     * @link https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link
173
     */
174
    public function getTemporaryLink(string $path): string
175
    {
176
        $parameters = [
177
            'path' => $this->normalizePath($path),
178
        ];
179
180
        $body = $this->rpcEndpointRequest('files/get_temporary_link', $parameters);
181
182
        return $body['link'];
183
    }
184
185
    /**
186
     * Get a thumbnail for an image.
@@ 220-228 (lines=9) @@
217
     *
218
     * @link https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder
219
     */
220
    public function listFolder(string $path = '', bool $recursive = false): array
221
    {
222
        $parameters = [
223
            'path' => $this->normalizePath($path),
224
            'recursive' => $recursive,
225
        ];
226
227
        return $this->rpcEndpointRequest('files/list_folder', $parameters);
228
    }
229
230
    /**
231
     * Once a cursor has been retrieved from list_folder, use this to paginate through all files and