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

src/DropboxAdapter.php 3 locations

@@ 76-88 (lines=13) @@
73
    /**
74
     * {@inheritdoc}
75
     */
76
    public function copy($path, $newpath): bool
77
    {
78
        $path = $this->applyPathPrefix($path);
79
        $newpath = $this->applyPathPrefix($newpath);
80
81
        try {
82
            $this->client->copy($path, $newpath);
83
        } catch (Exception $e) {
84
            return false;
85
        }
86
87
        return true;
88
    }
89
90
    /**
91
     * {@inheritdoc}
@@ 117-128 (lines=12) @@
114
    /**
115
     * {@inheritdoc}
116
     */
117
    public function createDir($dirname, Config $config)
118
    {
119
        $path = $this->applyPathPrefix($dirname);
120
121
        $object = $this->client->createFolder($path);
122
123
        if ($object === null) {
124
            return false;
125
        }
126
127
        return $this->normalizeResponse($object);
128
    }
129
130
    /**
131
     * {@inheritdoc}
@@ 180-191 (lines=12) @@
177
    /**
178
     * {@inheritdoc}
179
     */
180
    public function getMetadata($path)
181
    {
182
        $path = $this->applyPathPrefix($path);
183
184
        try {
185
            $object = $this->client->getMetadata($path);
186
        } catch(Exception $e) {
187
            return false;
188
        }
189
190
        return $this->normalizeResponse($object);
191
    }
192
193
    /**
194
     * {@inheritdoc}