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

symphony/content/content.blueprintsdatasources.php 1 location

@@ 1431-1433 (lines=3) @@
1428
            $rootelement = str_replace('_', '-', $classname);
1429
1430
            // Check to make sure the classname is not empty after handlisation.
1431
            if (empty($classname) && !isset($this->_errors['name'])) {
1432
                $this->_errors['name'] = __('Please ensure name contains at least one Latin-based character.',
1433
                    array($classname));
1434
            }
1435
1436
            $file = DATASOURCES . '/data.' . $classname . '.php';

symphony/content/content.blueprintsevents.php 1 location

@@ 418-420 (lines=3) @@
415
            $extends = 'SectionEvent';
416
417
            // Check to make sure the classname is not empty after handlisation.
418
            if (empty($classname) && !isset($this->_errors['name'])) {
419
                $this->_errors['name'] = __('Please ensure name contains at least one Latin-based character.',
420
                    array($classname));
421
            }
422
423
            $file = EVENTS . '/event.' . $classname . '.php';