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

src/AbstractWorkflow.php 2 locations

@@ 610-616 (lines=7) @@
607
608
            $l = $this->buildListIdsAvailableActions($globalActions, $transientVars, $ps, $l);
609
610
            foreach ($currentSteps as $step) {
611
                $availableAutoActionsForStep = $this->getAvailableAutoActionsForStep($wf, $step, $transientVars, $ps);
612
                foreach ($availableAutoActionsForStep as $v) {
613
                    $l[] = $v;
614
                }
615
            }
616
617
            $l = array_unique($l);
618
619
            return $l;
@@ 686-691 (lines=6) @@
683
            }
684
685
686
            foreach ($currentSteps as $step) {
687
                $data = $this->getAvailableActionsForStep($wf, $step, $transientVars, $ps);
688
                foreach ($data as $v) {
689
                    $l[] = $v;
690
                }
691
            }
692
            return array_unique($l);
693
        } catch (\Exception $e) {
694
            $errMsg = 'Ошибка проверки доступных действий';