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/Skeleton/MonitoringSkeleton.php 1 location

@@ 185-193 (lines=9) @@
182
     *
183
     * @return mixed
184
     */
185
    public function postRemove(\ArrayObject $project)
186
    {
187
        if (isset($this->app["config"]["monitoring"]["enabled"]) && $this->app["config"]["monitoring"]["enabled"]){
188
            $id = $this->getTestId($project);
189
            $this->deleteTest($id);
190
        } else {
191
            $this->dialogProvider->logConfig("Monitoring is disabled");
192
        }
193
    }
194
195
    /**
196
     * @return string[]

src/Kunstmaan/Skylab/Skeleton/StatusCakeSkeleton.php 1 location

@@ 178-186 (lines=9) @@
175
     *
176
     * @return mixed
177
     */
178
    public function postRemove(\ArrayObject $project)
179
    {
180
        if (isset($this->app["config"]["statuscake"]["enabled"]) && $this->app["config"]["statuscake"]["enabled"]) {
181
            $id = $this->getTestId($project["name"]);
182
            $this->deleteTest($id);
183
        } else {
184
            $this->dialogProvider->logConfig("Statuscake is disabled");
185
        }
186
    }
187
188
    /**
189
     * @return string[]