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

src/BusinessCase/JobManagement/ChronosStoreJobBusinessCase.php 1 location

@@ 54-73 (lines=20) @@
51
    /**
52
     * @inheritdoc
53
     */
54
    public function storeIndexedJobs()
55
    {
56
        // add new jobs to chronos
57
        $newJobs = $this->jobComparisonBusinessCase->getRemoteMissingJobs();
58
        foreach ($newJobs as $jobName) {
59
            $this->hasAddedJob($jobName);
60
        }
61
62
        // delete missing jobs from chronos
63
        $missingJobs = $this->jobComparisonBusinessCase->getLocalMissingJobs();
64
        foreach ($missingJobs as $jobName) {
65
            $this->hasRemovedJob($jobName);
66
        }
67
68
        // update jobs on chronos
69
        $localJobUpdates = $this->jobComparisonBusinessCase->getLocalJobUpdates();
70
        foreach ($localJobUpdates as $jobName) {
71
            $this->hasUpdatedJob($jobName);
72
        }
73
    }
74
75
    /**
76
     * @param string $jobName

src/BusinessCase/JobManagement/MarathonStoreJobBusinessCase.php 1 location

@@ 46-61 (lines=16) @@
43
    /**
44
     * @return void
45
     */
46
    public function storeIndexedJobs()
47
    {
48
        $remoteMissingApps = $this->jobComparisonBusinessCase->getRemoteMissingJobs();
49
        foreach ($remoteMissingApps as $appId) {
50
            $this->addRemoteMissingApp($appId);
51
        }
52
53
        $localMissingApps = $this->jobComparisonBusinessCase->getLocalMissingJobs();
54
        foreach ($localMissingApps as $appId) {
55
            $this->removeLocalMissingAppInRemote($appId);
56
        }
57
        $localUpdates = $this->jobComparisonBusinessCase->getLocalJobUpdates();
58
        foreach ($localUpdates as $appId) {
59
            $this->updateAppInRemote($appId);
60
        }
61
    }
62
63
    /**
64
     * @param string $appId