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

symphony/content/content.blueprintsevents.php 1 location

@@ 437-447 (lines=11) @@
434
        $isDuplicate = false;
435
        $queueForDeletion = null;
436
437
        if ($this->_context['action'] === 'new' && is_file($file)) {
438
            $isDuplicate = true;
439
        } elseif ($this->_context['action'] === 'edit') {
440
            $existing_handle = $this->_context['handle'];
441
442
            if ($classname !== $existing_handle && is_file($file)) {
443
                $isDuplicate = true;
444
            } elseif ($classname !== $existing_handle) {
445
                $queueForDeletion = EVENTS . '/event.' . $existing_handle . '.php';
446
            }
447
        }
448
449
        // Duplicate
450
        if ($isDuplicate) {

symphony/content/content.blueprintsdatasources.php 1 location

@@ 1184-1194 (lines=11) @@
1181
        $isDuplicate = false;
1182
        $queueForDeletion = null;
1183
1184
        if ($this->_context['action'] === 'new' && is_file($file)) {
1185
            $isDuplicate = true;
1186
        } elseif ($this->_context['action'] === 'edit') {
1187
            $existing_handle = $this->_context['handle'];
1188
1189
            if ($classname !== $existing_handle && is_file($file)) {
1190
                $isDuplicate = true;
1191
            } elseif ($classname !== $existing_handle) {
1192
                $queueForDeletion = DATASOURCES . '/data.' . $existing_handle . '.php';
1193
            }
1194
        }
1195
1196
        // Duplicate
1197
        if ($isDuplicate) {