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.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);

symphony/content/content.blueprintsdatasources.php 1 location

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