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

@@ 842-850 (lines=9) @@
839
840
        $validAction = false;
841
842
        foreach ($wf->getGlobalActions() as $actionDesc) {
843
            if ($actionId === $actionDesc->getId()) {
844
                $action = $actionDesc;
845
846
                if ($this->isActionAvailable($action, $transientVars, $ps, 0)) {
847
                    $validAction = true;
848
                }
849
            }
850
        }
851
852
853
        foreach ($currentSteps as $step) {
@@ 856-864 (lines=9) @@
853
        foreach ($currentSteps as $step) {
854
            $s = $wf->getStep($step->getStepId());
855
856
            foreach ($s->getActions() as $actionDesc) {
857
                if ($actionId === $actionDesc->getId()) {
858
                    $action = $actionDesc;
859
860
                    if ($this->isActionAvailable($action, $transientVars, $ps, $s->getId())) {
861
                        $validAction = true;
862
                    }
863
                }
864
            }
865
        }
866
867