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

@@ 183-191 (lines=9) @@
180
181
    /** Remote Dir methods **/
182
183
    public function seeRemoteDir($dirname)
184
    {
185
        try {
186
            $res = (bool) $this->grabRemoteDir($dirname);
187
        } catch (Exception $e) {
188
            $res = false;
189
        }
190
        \PHPUnit_Framework_Assert::assertTrue($res);
191
    }
192
193
    public function dontSeeRemoteDir($dirname)
194
    {
@@ 193-201 (lines=9) @@
190
        \PHPUnit_Framework_Assert::assertTrue($res);
191
    }
192
193
    public function dontSeeRemoteDir($dirname)
194
    {
195
        try {
196
            $res = (bool) $this->grabRemoteDir($dirname);
197
        } catch (Exception $e) {
198
            $res = false;
199
        }
200
        \PHPUnit_Framework_Assert::assertFalse($res);
201
    }
202
203
    public function grabRemoteDir($dirname)
204
    {