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

@@ 429-431 (lines=3) @@
426
        $extends = 'SectionEvent';
427
428
        // Check to make sure the classname is not empty after handlisation.
429
        if (empty($classname) && !isset($this->_errors['name'])) {
430
            $this->_errors['name'] = __('Please ensure name contains at least one Latin-based character.', array($classname));
431
        }
432
433
        $file = EVENTS . '/event.' . $classname . '.php';
434
        $isDuplicate = false;

symphony/content/content.blueprintsdatasources.php 1 location

@@ 1177-1179 (lines=3) @@
1174
        $rootelement = str_replace('_', '-', $classname);
1175
1176
        // Check to make sure the classname is not empty after handlisation.
1177
        if (empty($classname) && !isset($this->_errors['name'])) {
1178
            $this->_errors['name'] = __('Please ensure name contains at least one Latin-based character.', array($classname));
1179
        }
1180
1181
        $file = DATASOURCES . '/data.' . $classname . '.php';
1182