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

@@ 722-724 (lines=3) @@
719
                $this->_errors = array();
720
                $autogenerated_handle = false;
721
722
                if (!isset($fields['title']) || trim($fields['title']) === '') {
723
                    $this->_errors['title'] = __('This is a required field');
724
                }
725
726
                if (trim($fields['type']) !== '' && preg_match('/(index|404|403)/i', $fields['type'])) {
727
                    $types = preg_split('/\s*,\s*/', strtolower($fields['type']), -1, PREG_SPLIT_NO_EMPTY);

symphony/content/content.blueprintssections.php 1 location

@@ 778-781 (lines=4) @@
775
                }
776
777
                // Check to ensure all the required section fields are filled
778
                if (!isset($meta['navigation_group']) || strlen(trim($meta['navigation_group'])) === 0) {
779
                    $this->_errors['navigation_group'] = __('This is a required field.');
780
                    $canProceed = false;
781
                }
782
783
                // Basic custom field checking
784
                if (is_array($fields) && !empty($fields)) {