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

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