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

@@ 616-622 (lines=7) @@
613
                }
614
            }
615
616
            foreach ($currentSteps as $step) {
617
                $availableAutoActionsForStep = $this->getAvailableAutoActionsForStep($wf, $step, $transientVars, $ps);
618
                foreach ($availableAutoActionsForStep as $v) {
619
                    $l[] = $v;
620
                }
621
                //$l = array_merge($l, $availableAutoActionsForStep);
622
            }
623
624
            $l = array_unique($l);
625
@@ 1659-1664 (lines=6) @@
1656
            }
1657
1658
1659
            foreach ($currentSteps as $step) {
1660
                $data = $this->getAvailableActionsForStep($wf, $step, $transientVars, $ps);
1661
                foreach ($data as $v) {
1662
                    $l[] = $v;
1663
                }
1664
            }
1665
            return array_unique($l);
1666
        } catch (\Exception $e) {
1667
            $errMsg = 'Ошибка проверки доступных действий';