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.blueprintsdatasources.php 1 location

@@ 1743-1752 (lines=10) @@
1740
            return (bool)preg_match('/^\{\$[\w-]+(.[\w]+(-[\w]+)?){0,1}\}|[\d]+$/', $string);
1741
        }
1742
1743
        public static function injectAboutInformation(&$shell, array $details)
1744
        {
1745
            if (empty($details)) {
1746
                return;
1747
            }
1748
1749
            foreach ($details as $key => $val) {
1750
                $shell = str_replace('<!-- ' . strtoupper($key) . ' -->', addslashes($val), $shell);
1751
            }
1752
        }
1753
1754
        public function __injectVarList(&$shell, $vars)
1755
        {

symphony/content/content.blueprintsevents.php 1 location

@@ 656-665 (lines=10) @@
653
            }
654
        }
655
656
        public function __injectAboutInformation(&$shell, $details)
657
        {
658
            if (!is_array($details) || empty($details)) {
659
                return;
660
            }
661
662
            foreach ($details as $key => $val) {
663
                $shell = str_replace('<!-- ' . strtoupper($key) . ' -->', addslashes($val), $shell);
664
            }
665
        }
666
667
        public function __injectFilters(&$shell, $elements)
668
        {