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

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