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

@@ 603-609 (lines=7) @@
600
601
            $globalActions = $wf->getGlobalActions();
602
603
            foreach ($globalActions as $action) {
604
                $transientVars['actionId'] = $action->getId();
605
606
                if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) {
607
                    $l[] = $action->getId();
608
                }
609
            }
610
611
            foreach ($currentSteps as $step) {
612
                $availableAutoActionsForStep = $this->getAvailableAutoActionsForStep($wf, $step, $transientVars, $ps);
@@ 660-666 (lines=7) @@
657
            return $l;
658
        }
659
660
        foreach ($actions as $action) {
661
            $transientVars['actionId'] = $action->getId();
662
663
            if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) {
664
                $l[] = $action->getId();
665
            }
666
        }
667
668
        return $l;
669
    }