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

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