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

src/Services/QueuedJobService.php 2 locations

@@ 1336-1348 (lines=13) @@
1333
        file_put_contents($path, $contents);
1334
    }
1335
1336
    public function disableMaintenanceLock()
1337
    {
1338
        if (!$this->config()->get('lock_file_enabled')) {
1339
            return;
1340
        }
1341
1342
        $path = $this->lockFilePath();
1343
        if (!file_exists($path)) {
1344
            return;
1345
        }
1346
1347
        unlink($path);
1348
    }
1349
1350
    /**
1351
     * @return bool
@@ 1353-1362 (lines=10) @@
1350
    /**
1351
     * @return bool
1352
     */
1353
    public function isMaintenanceLockActive()
1354
    {
1355
        if (!$this->config()->get('lock_file_enabled')) {
1356
            return false;
1357
        }
1358
1359
        $path = $this->lockFilePath();
1360
1361
        return file_exists($path);
1362
    }
1363
1364
    /**
1365
     * @return string