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

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