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

symphony/content/content.blueprintsdatasources.php 1 location

@@ 1162-1171 (lines=10) @@
1159
            }
1160
1161
            // See if a Provided Datasource is saved
1162
        } elseif (!empty($providers)) {
1163
            foreach ($providers as $providerClass => $provider) {
1164
                if ($fields['source'] === call_user_func(array($providerClass, 'getSource'))) {
1165
                    call_user_func_array(array($providerClass, 'validate'), array(&$fields, &$this->_errors));
1166
                    break;
1167
                }
1168
1169
                unset($providerClass);
1170
            }
1171
        }
1172
1173
        $classname = Lang::createHandle($fields['name'], 255, '_', false, true, array('@^[^a-z\d]+@i' => '', '/[^\w-\.]/i' => ''));
1174
        $rootelement = str_replace('_', '-', $classname);

symphony/content/content.blueprintsevents.php 1 location

@@ 413-422 (lines=10) @@
410
        $filters = isset($fields['filters']) ? $fields['filters'] : array();
411
412
        // See if a Provided Datasource is saved
413
        if (!empty($providers)) {
414
            foreach ($providers as $providerClass => $provider) {
415
                if ($fields['source'] === call_user_func(array($providerClass, 'getSource'))) {
416
                    call_user_func_array(array($providerClass, 'validate'), array(&$fields, &$this->_errors));
417
                    break;
418
                }
419
420
                unset($providerClass);
421
            }
422
        }
423
424
        $classname = Lang::createHandle($fields['name'], 255, '_', false, true, array('@^[^a-z\d]+@i' => '', '/[^\w-\.]/i' => ''));
425
        $rootelement = str_replace('_', '-', $classname);