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

src/AbstractWorkflow.php 2 locations

@@ 558-564 (lines=7) @@
555
556
            $globalActions = $wf->getGlobalActions();
557
558
            foreach ($globalActions as $action) {
559
                $transientVars['actionId'] = $action->getId();
560
561
                if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) {
562
                    $l[] = $action->getId();
563
                }
564
            }
565
566
            foreach ($currentSteps as $step) {
567
                $availableAutoActionsForStep = $this->getAvailableAutoActionsForStep($wf, $step, $transientVars, $ps);
@@ 616-622 (lines=7) @@
613
            return $l;
614
        }
615
616
        foreach ($actions as $action) {
617
            $transientVars['actionId'] = $action->getId();
618
619
            if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) {
620
                $l[] = $action->getId();
621
            }
622
        }
623
624
        return $l;
625
    }