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

@@ 295-303 (lines=9) @@
292
     *
293
     * @return void
294
     */
295
    public function seeRemoteDir($dirname)
296
    {
297
        try {
298
            $res = (bool) $this->grabRemoteDir($dirname);
299
        } catch (Exception $e) {
300
            $res = false;
301
        }
302
        \PHPUnit_Framework_Assert::assertTrue($res);
303
    }
304
305
    /**
306
     * Verify that a remote folder does not exist in the current remote path
@@ 312-320 (lines=9) @@
309
     *
310
     * @return void
311
     */
312
    public function dontSeeRemoteDir($dirname)
313
    {
314
        try {
315
            $res = (bool) $this->grabRemoteDir($dirname);
316
        } catch (Exception $e) {
317
            $res = false;
318
        }
319
        \PHPUnit_Framework_Assert::assertFalse($res);
320
    }
321
322
    /**
323
     * Get the remode folder content