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

src/SecureShell.php 2 locations

@@ 195-203 (lines=9) @@
192
193
    /** Remote Dir methods **/
194
195
    public function seeRemoteDir($dirname)
196
    {
197
        try {
198
            $res = (bool) $this->grabRemoteDir($dirname);
199
        } catch (Exception $e) {
200
            $res = false;
201
        }
202
        \PHPUnit_Framework_Assert::assertTrue($res);
203
    }
204
205
    public function dontSeeRemoteDir($dirname)
206
    {
@@ 205-213 (lines=9) @@
202
        \PHPUnit_Framework_Assert::assertTrue($res);
203
    }
204
205
    public function dontSeeRemoteDir($dirname)
206
    {
207
        try {
208
            $res = (bool) $this->grabRemoteDir($dirname);
209
        } catch (Exception $e) {
210
            $res = false;
211
        }
212
        \PHPUnit_Framework_Assert::assertFalse($res);
213
    }
214
215
    public function grabRemoteDir($dirname)
216
    {