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

@@ 547-553 (lines=7) @@
544
545
            $globalActions = $wf->getGlobalActions();
546
547
            foreach ($globalActions as $action) {
548
                $transientVars['actionId'] = $action->getId();
549
550
                if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) {
551
                    $l[] = $action->getId();
552
                }
553
            }
554
555
            foreach ($currentSteps as $step) {
556
                $availableAutoActionsForStep = $this->getAvailableAutoActionsForStep($wf, $step, $transientVars, $ps);
@@ 605-611 (lines=7) @@
602
            return $l;
603
        }
604
605
        foreach ($actions as $action) {
606
            $transientVars['actionId'] = $action->getId();
607
608
            if ($action->getAutoExecute() && $this->isActionAvailable($action, $transientVars, $ps, 0)) {
609
                $l[] = $action->getId();
610
            }
611
        }
612
613
        return $l;
614
    }