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

@@ 521-529 (lines=9) @@
518
        }
519
520
        $postFunctions = $this->getPostFunctions();
521
        if ($postFunctions->count() > 0) {
522
            $postFunctionsElement = $dom->createElement('post-functions');
523
            foreach ($postFunctions as $function) {
524
                $functionElement = $function->writeXml($dom);
525
                $postFunctionsElement->appendChild($functionElement);
526
            }
527
528
            $descriptor->appendChild($postFunctionsElement);
529
        }
530
531
532
        return $descriptor;

src/Loader/StepDescriptor.php 1 location

@@ 468-476 (lines=9) @@
465
        }
466
467
        $postFunctions = $this->getPostFunctions();
468
        if ($postFunctions->count() > 0) {
469
            $postFunctionsElement = $dom->createElement('post-functions');
470
            foreach ($postFunctions as $function) {
471
                $functionElement = $function->writeXml($dom);
472
                $postFunctionsElement->appendChild($functionElement);
473
            }
474
475
            $descriptor->appendChild($postFunctionsElement);
476
        }
477
478
479
        return $descriptor;