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

src/Service/Filesystem.php 2 locations

@@ 284-286 (lines=3) @@
281
     */
282
    public function findShortestPath($from, $to, $directories = false)
283
    {
284
        if (!$this->isAbsolutePath($from) || !$this->isAbsolutePath($to)) {
285
            throw new \InvalidArgumentException(sprintf('$from (%s) and $to (%s) must be absolute paths.', $from, $to));
286
        }
287
288
        $from = lcfirst($this->normalizePath($from));
289
        $to = lcfirst($this->normalizePath($to));
@@ 328-330 (lines=3) @@
325
     */
326
    public function findShortestPathCode($from, $to, $directories = false)
327
    {
328
        if (!$this->isAbsolutePath($from) || !$this->isAbsolutePath($to)) {
329
            throw new \InvalidArgumentException(sprintf('$from (%s) and $to (%s) must be absolute paths.', $from, $to));
330
        }
331
332
        $from = lcfirst($this->normalizePath($from));
333
        $to = lcfirst($this->normalizePath($to));