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

symphony/content/content.blueprintspages.php 1 location

@@ 634-636 (lines=3) @@
631
            $this->_errors = array();
632
            $autogenerated_handle = false;
633
634
            if (!isset($fields['title']) || trim($fields['title']) == '') {
635
                $this->_errors['title'] = __('This is a required field');
636
            }
637
638
            if (trim($fields['type']) != '' && preg_match('/(index|404|403)/i', $fields['type'])) {
639
                $types = preg_split('/\s*,\s*/', strtolower($fields['type']), -1, PREG_SPLIT_NO_EMPTY);

symphony/content/content.blueprintssections.php 1 location

@@ 645-648 (lines=4) @@
642
            }
643
644
            // Check to ensure all the required section fields are filled
645
            if (!isset($meta['navigation_group']) || strlen(trim($meta['navigation_group'])) == 0) {
646
                $this->_errors['navigation_group'] = __('This is a required field.');
647
                $canProceed = false;
648
            }
649
650
            // Basic custom field checking
651
            if (is_array($fields) && !empty($fields)) {