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
@@ 1588-1593 (lines=6) @@
1585
            }
1586
1587
1588
            foreach ($currentSteps as $step) {
1589
                $data = $this->getAvailableActionsForStep($wf, $step, $transientVars, $ps);
1590
                foreach ($data as $v) {
1591
                    $l[] = $v;
1592
                }
1593
            }
1594
            return array_unique($l);
1595
        } catch (\Exception $e) {
1596
            $errMsg = 'Ошибка проверки доступных действий';