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

@@ 580-586 (lines=7) @@
577
                }
578
            }
579
580
            foreach ($currentSteps as $step) {
581
                $availableAutoActionsForStep = $this->getAvailableAutoActionsForStep($wf, $step, $transientVars, $ps);
582
                foreach ($availableAutoActionsForStep as $v) {
583
                    $l[] = $v;
584
                }
585
                //$l = array_merge($l, $availableAutoActionsForStep);
586
            }
587
588
            $l = array_unique($l);
589
@@ 1648-1653 (lines=6) @@
1645
            }
1646
1647
1648
            foreach ($currentSteps as $step) {
1649
                $data = $this->getAvailableActionsForStep($wf, $step, $transientVars, $ps);
1650
                foreach ($data as $v) {
1651
                    $l[] = $v;
1652
                }
1653
            }
1654
            return array_unique($l);
1655
        } catch (\Exception $e) {
1656
            $errMsg = 'Ошибка проверки доступных действий';