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

@@ 956-962 (lines=7) @@
953
954
    public function __viewNew()
955
    {
956
        if (!$section_id = SectionManager::fetchIDFromHandle($this->_context['section_handle'])) {
957
            Administration::instance()->throwCustomError(
958
                __('The Section, %s, could not be found.', array('<code>' . $this->_context['section_handle'] . '</code>')),
959
                __('Unknown Section'),
960
                Page::HTTP_STATUS_NOT_FOUND
961
            );
962
        }
963
964
        $section = SectionManager::fetch($section_id);
965
@@ 1175-1181 (lines=7) @@
1172
1173
    public function __viewEdit()
1174
    {
1175
        if (!$section_id = SectionManager::fetchIDFromHandle($this->_context['section_handle'])) {
1176
            Administration::instance()->throwCustomError(
1177
                __('The Section, %s, could not be found.', array('<code>' . $this->_context['section_handle'] . '</code>')),
1178
                __('Unknown Section'),
1179
                Page::HTTP_STATUS_NOT_FOUND
1180
            );
1181
        }
1182
1183
        $section = SectionManager::fetch($section_id);
1184
        $entry_id = intval($this->_context['entry_id']);