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

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