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

@@ 221-228 (lines=8) @@
218
                $entry = EntryManager::fetch($entry_id);
219
                $entry = $entry[0];
220
221
                if (!is_object($entry)) {
222
                    $result->setAttribute('result', 'error');
223
                    $result->appendChild(new XMLElement('message',
224
                        __('The Entry, %s, could not be found.', array($entry_id)), array(
225
                            'message-id' => EventMessages::ENTRY_MISSING
226
                        )));
227
228
                    return false;
229
                }
230
231
                // `$entry_id` wasn't provided, create a new Entry object.
@@ 374-380 (lines=7) @@
371
                    }
372
                }
373
374
                if ($can_proceed !== true) {
375
                    $result->appendChild($post_values);
376
                    $result->setAttribute('result', 'error');
377
                    $result->appendChild(new XMLElement('message', __('Entry encountered errors when saving.'), array(
378
                        'message-id' => EventMessages::FILTER_FAILED
379
                    )));
380
                }
381
            }
382
383
            // Reset the filter results to prevent duplicates. RE: #2179