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

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

@@ 455-462 (lines=8) @@
452
453
            $result = $descriptor->writeXml();
454
455
            if ($result instanceof \DOMDocument) {
456
                $actualXml = $result->saveXML();
457
            } elseif ($result instanceof \DOMElement) {
458
                $actualXml = $result->ownerDocument->saveXML($result);
459
            } else {
460
                $errMsg = 'Incorrect result writeXml';
461
                throw new \RuntimeException($errMsg);
462
            }
463
464
            $expectedXml = $expectedXmlNode->getRaw();
465
@@ 497-504 (lines=8) @@
494
495
            $result = $descriptor->writeXml($dom);
496
497
            if ($result instanceof \DOMDocument) {
498
                $actualXml = $result->saveXML();
499
            } elseif ($result instanceof \DOMElement) {
500
                $actualXml = $result->ownerDocument->saveXML($result);
501
            } else {
502
                $errMsg = 'Incorrect result writeXml';
503
                throw new \RuntimeException($errMsg);
504
            }
505
506
            $expectedXml = $expectedXmlNode->getRaw();
507