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/Kunstmaan/Skylab/Command/SelfUpdateCommand.php 2 locations

@@ 133-141 (lines=9) @@
130
        return $this->getGithubReleasesUpdater($updater);
131
    }
132
133
    protected function getPreReleaseUpdater()
134
    {
135
        $updater = new Updater(null, false);
136
        $updater->setStrategy(Updater::STRATEGY_GITHUB);
137
        /** @var GithubStrategy $strategyInterface */
138
        $strategyInterface = $updater->getStrategy();
139
        $strategyInterface->setStability(GithubStrategy::UNSTABLE);
140
        return $this->getGithubReleasesUpdater($updater);
141
    }
142
143
    protected function getMostRecentNonDevUpdater()
144
    {
@@ 143-151 (lines=9) @@
140
        return $this->getGithubReleasesUpdater($updater);
141
    }
142
143
    protected function getMostRecentNonDevUpdater()
144
    {
145
        $updater = new Updater(null, false);
146
        $updater->setStrategy(Updater::STRATEGY_GITHUB);
147
        /** @var GithubStrategy $strategyInterface */
148
        $strategyInterface = $updater->getStrategy();
149
        $strategyInterface->setStability(GithubStrategy::ANY);
150
        return $this->getGithubReleasesUpdater($updater);
151
    }
152
153
    protected function getGithubReleasesUpdater(Updater $updater)
154
    {