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

test/Behat/bootstrap/OldTownWorkflowBehatTestBootstrap/WorkflowDescriptorContext.php 2 locations

@@ 752-756 (lines=5) @@
749
            $descriptors = call_user_func([$descriptor, $methodName]);
750
751
            $targetDescriptor = $descriptors;
752
            if ((is_array($descriptors) || $descriptors instanceof \Traversable) && 1 === count($descriptors)) {
753
                $iterator = is_array($descriptors) ? $descriptors : iterator_to_array($descriptors);
754
                reset($iterator);
755
                $targetDescriptor = current($iterator);
756
            }
757
758
            if (!$targetDescriptor instanceof AbstractDescriptor) {
759
                $errMsg = 'Descriptor not instance of AbstractDescriptor';
@@ 808-812 (lines=5) @@
805
            $descriptors = $r->getMethod($methodName)->invokeArgs($descriptor, $transformArg);
806
807
            $targetDescriptor = $descriptors;
808
            if ((is_array($descriptors) || $descriptors instanceof \Traversable) && 1 === count($descriptors)) {
809
                $iterator = is_array($descriptors) ? $descriptors : iterator_to_array($descriptors);
810
                reset($iterator);
811
                $targetDescriptor = current($iterator);
812
            }
813
814
            if (!$targetDescriptor instanceof AbstractDescriptor) {
815
                $errMsg = 'Descriptor not instance of AbstractDescriptor';