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
@@ 1172-1178 (lines=7) @@
1169
1170
    public function __viewEdit()
1171
    {
1172
        if (!$section_id = SectionManager::fetchIDFromHandle($this->_context['section_handle'])) {
1173
            Administration::instance()->throwCustomError(
1174
                __('The Section, %s, could not be found.', array('<code>' . $this->_context['section_handle'] . '</code>')),
1175
                __('Unknown Section'),
1176
                Page::HTTP_STATUS_NOT_FOUND
1177
            );
1178
        }
1179
1180
        $section = SectionManager::fetch($section_id);
1181
        $entry_id = intval($this->_context['entry_id']);