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

symphony/content/content.blueprintsdatasources.php 2 locations

@@ 632-644 (lines=13) @@
629
                array('system:modification-date', ($fields['source'] === $section_id && $fields['sort'] === 'system:modification-date'), __('System Modification Date')),
630
            ));
631
632
            if (is_array($section_data['fields']) && !empty($section_data['fields'])) {
633
                foreach ($section_data['fields'] as $input) {
634
                    if (!$input->isSortable()) {
635
                        continue;
636
                    }
637
638
                    $optgroup['options'][] = array(
639
                        $input->get('element_name'),
640
                        ($fields['source'] === $section_id && $input->get('element_name') === $fields['sort']),
641
                        $input->get('label')
642
                    );
643
                }
644
            }
645
646
            $options[] = $optgroup;
647
        }
@@ 687-695 (lines=9) @@
684
        foreach ($field_groups as $section_id => $section_data) {
685
            $optgroup = array('label' => $section_data['section']->get('name'), 'data-label' => 'section-' . $section_data['section']->get('id'), 'options' => array());
686
687
            if (is_array($section_data['fields']) && !empty($section_data['fields'])) {
688
                foreach ($section_data['fields'] as $input) {
689
                    if (!$input->allowDatasourceOutputGrouping()) {
690
                        continue;
691
                    }
692
693
                    $optgroup['options'][] = array($input->get('id'), ($fields['source'] === $section_id && $fields['group'] === $input->get('id')), $input->get('label'));
694
                }
695
            }
696
697
            $options[] = $optgroup;
698
        }