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

@@ 391-397 (lines=7) @@
388
389
        $transitionEngine = $engineManager->getTransitionEngine();
390
        foreach ($wf->getGlobalActions() as $actionDesc) {
391
            if ($actionId === $actionDesc->getId()) {
392
                $action = $actionDesc;
393
394
                if ($transitionEngine->isActionAvailable($action, $transientVars, $ps, 0)) {
395
                    $validAction = true;
396
                }
397
            }
398
        }
399
400
@@ 410-416 (lines=7) @@
407
                    throw new InternalWorkflowException($errMsg);
408
                }
409
410
                if ($actionId === $actionDesc->getId()) {
411
                    $action = $actionDesc;
412
413
                    if ($transitionEngine->isActionAvailable($action, $transientVars, $ps, $s->getId())) {
414
                        $validAction = true;
415
                    }
416
                }
417
            }
418
        }
419