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

symphony/content/content.blueprintspages.php 2 locations

@@ 744-768 (lines=25) @@
741
                         */
742
                        Symphony::ExtensionManager()->notifyMembers('PagePreCreate', '/blueprints/pages/', array('fields' => &$fields));
743
744
                        if (!$page_id = PageManager::add($fields)) {
745
                            $this->pageAlert(
746
                                __('Unknown errors occurred while attempting to save.')
747
                                . '<a href="' . SYMPHONY_URL . '/system/log/">'
748
                                . __('Check your activity log')
749
                                . '</a>.',
750
                                Alert::ERROR
751
                            );
752
                        } else {
753
                            /**
754
                             * Just after the creation of a new page in `tbl_pages`
755
                             *
756
                             * @delegate PagePostCreate
757
                             * @since Symphony 2.2
758
                             * @param string $context
759
                             * '/blueprints/pages/'
760
                             * @param integer $page_id
761
                             *  The ID of the newly created Page
762
                             * @param array $fields
763
                             *  An associative array of data that was just saved for this page
764
                             */
765
                            Symphony::ExtensionManager()->notifyMembers('PagePostCreate', '/blueprints/pages/', array('page_id' => $page_id, 'fields' => &$fields));
766
767
                            $redirect = "/blueprints/pages/edit/{$page_id}/created/{$parent_link_suffix}";
768
                        }
769
770
                        // Update existing:
771
                    } else {
@@ 788-812 (lines=25) @@
785
                         */
786
                        Symphony::ExtensionManager()->notifyMembers('PagePreEdit', '/blueprints/pages/', array('page_id' => $page_id, 'fields' => &$fields));
787
788
                        if (!PageManager::edit($page_id, $fields, true)) {
789
                            return $this->pageAlert(
790
                                __('Unknown errors occurred while attempting to save.')
791
                                . '<a href="' . SYMPHONY_URL . '/system/log/">'
792
                                . __('Check your activity log')
793
                                . '</a>.',
794
                                Alert::ERROR
795
                            );
796
                        } else {
797
                            /**
798
                             * Just after updating a page in `tbl_pages`
799
                             *
800
                             * @delegate PagePostEdit
801
                             * @since Symphony 2.2
802
                             * @param string $context
803
                             * '/blueprints/pages/'
804
                             * @param integer $page_id
805
                             *  The ID of the Page that was just updated
806
                             * @param array $fields
807
                             *  An associative array of data that was just saved for this page
808
                             */
809
                            Symphony::ExtensionManager()->notifyMembers('PagePostEdit', '/blueprints/pages/', array('page_id' => $page_id, 'fields' => $fields));
810
811
                            $redirect = "/blueprints/pages/edit/{$page_id}/saved/{$parent_link_suffix}";
812
                        }
813
                    }
814
                }
815