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

src/AbstractWorkflow.php 2 locations

@@ 830-838 (lines=9) @@
827
828
        $validAction = false;
829
830
        foreach ($wf->getGlobalActions() as $actionDesc) {
831
            if ($actionId === $actionDesc->getId()) {
832
                $action = $actionDesc;
833
834
                if ($this->isActionAvailable($action, $transientVars, $ps, 0)) {
835
                    $validAction = true;
836
                }
837
            }
838
        }
839
840
841
        foreach ($currentSteps as $step) {
@@ 844-852 (lines=9) @@
841
        foreach ($currentSteps as $step) {
842
            $s = $wf->getStep($step->getStepId());
843
844
            foreach ($s->getActions() as $actionDesc) {
845
                if ($actionId === $actionDesc->getId()) {
846
                    $action = $actionDesc;
847
848
                    if ($this->isActionAvailable($action, $transientVars, $ps, $s->getId())) {
849
                        $validAction = true;
850
                    }
851
                }
852
            }
853
        }
854
855