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

@@ 608-614 (lines=7) @@
605
606
            $globalActions = $wf->getGlobalActions();
607
608
            foreach ($globalActions as $action) {
609
                $transientVars['actionId'] = $action->getId();
610
611
                if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) {
612
                    $l[] = $action->getId();
613
                }
614
            }
615
616
            foreach ($currentSteps as $step) {
617
                $availableAutoActionsForStep = $this->getAvailableAutoActionsForStep($wf, $step, $transientVars, $ps);
@@ 665-671 (lines=7) @@
662
            return $l;
663
        }
664
665
        foreach ($actions as $action) {
666
            $transientVars['actionId'] = $action->getId();
667
668
            if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) {
669
                $l[] = $action->getId();
670
            }
671
        }
672
673
        return $l;
674
    }