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

symphony/content/content.systemauthors.php 1 location

@@ 750-752 (lines=3) @@
747
            }
748
749
            // Author doesn't have valid data, throw back.
750
            if (is_array($this->_errors) && !empty($this->_errors)) {
751
                $this->pageAlert(__('There were some problems while attempting to save. Please check below for problem fields.'), Alert::ERROR);
752
            }
753
        } elseif (@array_key_exists('delete', $_POST['action'])) {
754
            /**
755
             * Prior to deleting an author, provided with the Author ID.

symphony/content/content.blueprintspages.php 1 location

@@ 853-858 (lines=6) @@
850
851
            // If there was any errors, either with pre processing or because of a
852
            // duplicate page, return.
853
            if (is_array($this->_errors) && !empty($this->_errors)) {
854
                return $this->pageAlert(
855
                    __('An error occurred while processing this form. See below for details.'),
856
                    Alert::ERROR
857
                );
858
            }
859
        }
860
    }
861