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

@@ 1415-1424 (lines=10) @@
1412
                }
1413
1414
                // See if a Provided Datasource is saved
1415
            } elseif (!empty($providers)) {
1416
                foreach ($providers as $providerClass => $provider) {
1417
                    if ($fields['source'] === call_user_func(array($providerClass, 'getSource'))) {
1418
                        call_user_func_array(array($providerClass, 'validate'), array(&$fields, &$this->_errors));
1419
                        break;
1420
                    }
1421
1422
                    unset($providerClass);
1423
                }
1424
            }
1425
1426
            $classname = Lang::createHandle($fields['name'], 255, '_', false, true,
1427
                array('@^[^a-z\d]+@i' => '', '/[^\w-\.]/i' => ''));

symphony/content/content.blueprintsevents.php 1 location

@@ 401-410 (lines=10) @@
398
            $filters = isset($fields['filters']) ? $fields['filters'] : array();
399
400
            // See if a Provided Datasource is saved
401
            if (!empty($providers)) {
402
                foreach ($providers as $providerClass => $provider) {
403
                    if ($fields['source'] === call_user_func(array($providerClass, 'getSource'))) {
404
                        call_user_func_array(array($providerClass, 'validate'), array(&$fields, &$this->_errors));
405
                        break;
406
                    }
407
408
                    unset($providerClass);
409
                }
410
            }
411
412
            $classname = Lang::createHandle($fields['name'], 255, '_', false, true,
413
                array('@^[^a-z\d]+@i' => '', '/[^\w-\.]/i' => ''));