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

symphony/content/content.publish.php 2 locations

@@ 977-983 (lines=7) @@
974
975
    public function __viewNew()
976
    {
977
        if (!$section_id = SectionManager::fetchIDFromHandle($this->_context['section_handle'])) {
978
            Administration::instance()->throwCustomError(
979
                __('The Section, %s, could not be found.', array('<code>' . $this->_context['section_handle'] . '</code>')),
980
                __('Unknown Section'),
981
                Page::HTTP_STATUS_NOT_FOUND
982
            );
983
        }
984
985
        $section = SectionManager::fetch($section_id);
986
@@ 1193-1199 (lines=7) @@
1190
1191
    public function __viewEdit()
1192
    {
1193
        if (!$section_id = SectionManager::fetchIDFromHandle($this->_context['section_handle'])) {
1194
            Administration::instance()->throwCustomError(
1195
                __('The Section, %s, could not be found.', array('<code>' . $this->_context['section_handle'] . '</code>')),
1196
                __('Unknown Section'),
1197
                Page::HTTP_STATUS_NOT_FOUND
1198
            );
1199
        }
1200
1201
        $section = SectionManager::fetch($section_id);
1202
        $entry_id = intval($this->_context['entry_id']);