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/DocumentStorage.php 2 locations

@@ 41-49 (lines=9) @@
38
        $this->baseDir = $baseDir;
39
    }
40
41
    public function isDocument(Path $p)
42
    {
43
        $documentPath = $this->baseDir.$p->getPath();
44
        if (false === file_exists($documentPath) || !is_file($documentPath)) {
45
            return false;
46
        }
47
48
        return true;
49
    }
50
51
    /**
52
     * Get the full absolute location of the document on the filesystem.
@@ 145-153 (lines=9) @@
142
        return $deletedObjects;
143
    }
144
145
    public function isFolder(Path $p)
146
    {
147
        $folderPath = $this->baseDir.$p->getPath();
148
        if (false === file_exists($folderPath) || !is_dir($folderPath)) {
149
            return false;
150
        }
151
152
        return true;
153
    }
154
155
    public function getFolder(Path $p)
156
    {