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 3 locations

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

symphony/content/content.systemauthors.php 2 locations

@@ 705-707 (lines=3) @@
702
            }
703
704
            // Author doesn't have valid data, throw back.
705
            if (is_array($this->_errors) && !empty($this->_errors)) {
706
                $this->pageAlert(__('There were some problems while attempting to save. Please check below for problem fields.'), Alert::ERROR);
707
            }
708
        } elseif (@array_key_exists('delete', $_POST['action'])) {
709
            // Validate rights
710
            if (!$canEdit) {
@@ 724-727 (lines=4) @@
721
                    $this->_errors['confirm-change-password'] = __('Wrong password, please enter your own password to make changes to this author.');
722
                }
723
            }
724
            if (is_array($this->_errors) && !empty($this->_errors)) {
725
                $this->pageAlert(__('There were some problems while attempting to save. Please check below for problem fields.'), Alert::ERROR);
726
                return;
727
            }
728
729
            /**
730
             * Prior to deleting an author, provided with the Author ID.