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

symphony/content/content.blueprintsevents.php 1 location

@@ 665-674 (lines=10) @@
662
        $shell = str_replace('<!-- FILTERS -->', "'" . implode("'," . PHP_EOL . "\t\t\t\t'", $elements) . "'", $shell);
663
    }
664
665
    public function __injectAboutInformation(&$shell, $details)
666
    {
667
        if (!is_array($details) || empty($details)) {
668
            return;
669
        }
670
671
        foreach ($details as $key => $val) {
672
            $shell = str_replace('<!-- ' . strtoupper($key) . ' -->', addslashes($val), $shell);
673
        }
674
    }
675
}
676

symphony/content/content.blueprintsdatasources.php 1 location

@@ 1494-1503 (lines=10) @@
1491
        $shell = str_replace($placeholder, trim($string), $shell);
1492
    }
1493
1494
    public static function injectAboutInformation(&$shell, array $details)
1495
    {
1496
        if (empty($details)) {
1497
            return;
1498
        }
1499
1500
        foreach ($details as $key => $val) {
1501
            $shell = str_replace('<!-- ' . strtoupper($key) . ' -->', addslashes($val), $shell);
1502
        }
1503
    }
1504
1505
    public function __injectIncludedElements(&$shell, $elements)
1506
    {