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

src/Loader/ActionDescriptor.php 1 location

@@ 495-503 (lines=9) @@
492
        }
493
494
        $preFunctions = $this->getPreFunctions();
495
        if ($preFunctions->count() > 0) {
496
            $preFunctionsElement = $dom->createElement('pre-functions');
497
            foreach ($preFunctions as $function) {
498
                $functionElement = $function->writeXml($dom);
499
                $preFunctionsElement->appendChild($functionElement);
500
            }
501
502
            $descriptor->appendChild($preFunctionsElement);
503
        }
504
505
        $resultsElement = $dom->createElement('results');
506
        $descriptor->appendChild($resultsElement);

src/Loader/StepDescriptor.php 1 location

@@ 421-429 (lines=9) @@
418
419
420
        $preFunctions = $this->getPreFunctions();
421
        if ($preFunctions->count() > 0) {
422
            $preFunctionsElement = $dom->createElement('pre-functions');
423
            foreach ($preFunctions as $function) {
424
                $functionElement = $function->writeXml($dom);
425
                $preFunctionsElement->appendChild($functionElement);
426
            }
427
428
            $descriptor->appendChild($preFunctionsElement);
429
        }
430
431
432
        $permissions = $this->getPermissions();