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 = 3-6 lines in 3 locations

symphony/content/content.blueprintsevents.php 1 location

@@ 254-256 (lines=3) @@
251
252
            $options = array();
253
254
            foreach ($pages as $page) {
255
                $options[] = array($page['id'], in_array($page['id'], $selected), PageManager::resolvePageTitle($page['id']));
256
            }
257
258
            $label->appendChild(Widget::Select('fields[connections][]', $options, array('multiple' => 'multiple')));
259
            $div->appendChild($label);

symphony/lib/toolkit/class.resourcemanager.php 1 location

@@ 317-322 (lines=6) @@
314
        )));
315
316
        if (is_array($pages)) {
317
            foreach ($pages as $key => &$page) {
318
                $pages[$key] = array(
319
                    'id' => $page['id'],
320
                    'title' => PageManager::resolvePageTitle($page['id'])
321
                );
322
            }
323
        }
324
325
        return (is_null($pages) ? array() : $pages);

symphony/content/content.blueprintsdatasources.php 1 location

@@ 947-949 (lines=3) @@
944
945
        $options = array();
946
947
        foreach ($pages as $page) {
948
            $options[] = array($page['id'], in_array($page['id'], $selected), PageManager::resolvePageTitle($page['id']));
949
        }
950
951
        $label->appendChild(Widget::Select('fields[connections][]', $options, array('multiple' => 'multiple')));
952
        $div->appendChild($label);