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

src/Loader/ActionDescriptor.php 1 location

@@ 485-492 (lines=8) @@
482
        }
483
484
        $validators = $this->getValidators();
485
        if ($validators->count() > 0) {
486
            $validatorsElement = $dom->createElement('validators');
487
            foreach ($validators as $validator) {
488
                $validatorElement = $validator->writeXml($dom);
489
                $validatorsElement->appendChild($validatorElement);
490
            }
491
            $descriptor->appendChild($validatorsElement);
492
        }
493
494
        $preFunctions = $this->getPreFunctions();
495
        if ($preFunctions->count() > 0) {

src/Loader/ConditionalResultDescriptor.php 1 location

@@ 244-252 (lines=9) @@
241
        }
242
243
        $validators = $this->getValidators();
244
        if ($validators->count() > 0) {
245
            $validatorsDescriptor = $dom->createElement('validators');
246
            $descriptor->appendChild($validatorsDescriptor);
247
248
            foreach ($validators as $validator) {
249
                $validatorElement = $validator->writeXml($dom);
250
                $validatorsDescriptor->appendChild($validatorElement);
251
            }
252
        }
253
254
        $preFunctionsElement = $this->printPreFunctions($dom);
255
        if (null !== $preFunctionsElement) {

src/Loader/ResultDescriptor.php 1 location

@@ 529-537 (lines=9) @@
526
        }
527
528
        $validators = $this->getValidators();
529
        if ($validators->count() > 0) {
530
            $validatorsDescriptor = $dom->createElement('validators');
531
            $descriptor->appendChild($validatorsDescriptor);
532
533
            foreach ($validators as $validator) {
534
                $validatorElement = $validator->writeXml($dom);
535
                $validatorsDescriptor->appendChild($validatorElement);
536
            }
537
        }
538
539
        $preFunctionsElement = $this->printPreFunctions($dom);
540
        if (null !== $preFunctionsElement) {