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 = 6-8 lines in 2 locations

src/Kunstmaan/Skylab/Command/ExecuteCommand.php 2 locations

@@ 170-175 (lines=6) @@
167
            $this->notifySlack("Build successful", $yaml["deploy_matrix"][$deployEnv]["project"], $deployEnv, getenv("slack_user"), $resolverArray, "#FFCC00", true);
168
169
            // test
170
            if (!$this->input->getOption('skip-tests')) {
171
                $this->notifySlack("Tests started", $yaml["deploy_matrix"][$deployEnv]["project"], $deployEnv, getenv("slack_user"), $resolverArray, "#FFCC00", true);
172
                $this->runStep("before_test", $yaml, $deployEnv);
173
                $this->runStep("test", $yaml, $deployEnv, "after_test_success");
174
                $this->notifySlack("Tests successful", $yaml["deploy_matrix"][$deployEnv]["project"], $deployEnv, getenv("slack_user"), $resolverArray, ($this->input->getOption('skip-deploy')?"#7CD197":"#FFCC00"), true);
175
            }
176
177
            // deploy
178
            if (!$this->input->getOption('skip-deploy')) {
@@ 178-185 (lines=8) @@
175
            }
176
177
            // deploy
178
            if (!$this->input->getOption('skip-deploy')) {
179
                $this->notifySlack("Deploy started", $yaml["deploy_matrix"][$deployEnv]["project"], $deployEnv, getenv("slack_user"), $resolverArray, "#FFCC00", true);
180
                $this->runStep("before_deploy", $yaml, $deployEnv);
181
                $this->runStep("deploy", $yaml, $deployEnv, "after_deploy_success");
182
                $this->notifySlack("Deploy successful", $yaml["deploy_matrix"][$deployEnv]["project"], $deployEnv, getenv("slack_user"), $resolverArray, "#7CD197", true);
183
            } else {
184
                $this->dialogProvider->logNotice("Deploy is skipped");
185
            }
186
        } else {
187
            $this->dialogProvider->logError("The deploy environment " . $deployEnv . " does not exist", true);
188
        }