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

@@ 566-572 (lines=7) @@
563
                }
564
            }
565
566
            foreach ($currentSteps as $step) {
567
                $availableAutoActionsForStep = $this->getAvailableAutoActionsForStep($wf, $step, $transientVars, $ps);
568
                foreach ($availableAutoActionsForStep as $v) {
569
                    $l[] = $v;
570
                }
571
                //$l = array_merge($l, $availableAutoActionsForStep);
572
            }
573
574
            $l = array_unique($l);
575
@@ 1604-1609 (lines=6) @@
1601
            }
1602
1603
1604
            foreach ($currentSteps as $step) {
1605
                $data = $this->getAvailableActionsForStep($wf, $step, $transientVars, $ps);
1606
                foreach ($data as $v) {
1607
                    $l[] = $v;
1608
                }
1609
            }
1610
            return array_unique($l);
1611
        } catch (\Exception $e) {
1612
            $errMsg = 'Ошибка проверки доступных действий';