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 = 7-7 lines in 2 locations

src/AbstractWorkflow.php 2 locations

@@ 410-416 (lines=7) @@
407
408
        $transitionEngine = $engineManager->getTransitionEngine();
409
        foreach ($wf->getGlobalActions() as $actionDesc) {
410
            if ($actionId === $actionDesc->getId()) {
411
                $action = $actionDesc;
412
413
                if ($transitionEngine->isActionAvailable($action, $transientVars, $ps, 0)) {
414
                    $validAction = true;
415
                }
416
            }
417
        }
418
419
@@ 429-435 (lines=7) @@
426
                    throw new InternalWorkflowException($errMsg);
427
                }
428
429
                if ($actionId === $actionDesc->getId()) {
430
                    $action = $actionDesc;
431
432
                    if ($transitionEngine->isActionAvailable($action, $transientVars, $ps, $s->getId())) {
433
                        $validAction = true;
434
                    }
435
                }
436
            }
437
        }
438