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

symphony/lib/toolkit/events/class.event.section.php 2 locations

@@ 344-351 (lines=8) @@
341
            $entry = EntryManager::fetch($entry_id);
342
            $entry = $entry[0];
343
344
            if (!is_object($entry)) {
345
                $result->setAttribute('result', 'error');
346
                $result->appendChild(new XMLElement('message', __('The Entry, %s, could not be found.', array($entry_id)), array(
347
                    'message-id' => EventMessages::ENTRY_MISSING
348
                )));
349
350
                return false;
351
            }
352
353
            // `$entry_id` wasn't provided, create a new Entry object.
354
        } else {
@@ 485-491 (lines=7) @@
482
                }
483
            }
484
485
            if ($can_proceed !== true) {
486
                $result->appendChild($post_values);
487
                $result->setAttribute('result', 'error');
488
                $result->appendChild(new XMLElement('message', __('Entry encountered errors when saving.'), array(
489
                    'message-id' => EventMessages::FILTER_FAILED
490
                )));
491
            }
492
        }
493
494
        // Reset the filter results to prevent duplicates. RE: #2179