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

@@ 555-561 (lines=7) @@
552
                }
553
            }
554
555
            foreach ($currentSteps as $step) {
556
                $availableAutoActionsForStep = $this->getAvailableAutoActionsForStep($wf, $step, $transientVars, $ps);
557
                foreach ($availableAutoActionsForStep as $v) {
558
                    $l[] = $v;
559
                }
560
                //$l = array_merge($l, $availableAutoActionsForStep);
561
            }
562
563
            $l = array_unique($l);
564
@@ 1589-1594 (lines=6) @@
1586
            }
1587
1588
1589
            foreach ($currentSteps as $step) {
1590
                $data = $this->getAvailableActionsForStep($wf, $step, $transientVars, $ps);
1591
                foreach ($data as $v) {
1592
                    $l[] = $v;
1593
                }
1594
            }
1595
            return array_unique($l);
1596
        } catch (\Exception $e) {
1597
            $errMsg = 'Ошибка проверки доступных действий';