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

@@ 785-797 (lines=13) @@
782
                    )
783
                );
784
785
                if (is_array($section_data['fields']) && !empty($section_data['fields'])) {
786
                    foreach ($section_data['fields'] as $input) {
787
                        if (!$input->isSortable()) {
788
                            continue;
789
                        }
790
791
                        $optgroup['options'][] = array(
792
                            $input->get('element_name'),
793
                            ($fields['source'] === $section_id && $input->get('element_name') === $fields['sort']),
794
                            $input->get('label')
795
                        );
796
                    }
797
                }
798
799
                $options[] = $optgroup;
800
            }
@@ 844-852 (lines=9) @@
841
                    'options' => array()
842
                );
843
844
                if (is_array($section_data['fields']) && !empty($section_data['fields'])) {
845
                    foreach ($section_data['fields'] as $input) {
846
                        if (!$input->allowDatasourceOutputGrouping()) {
847
                            continue;
848
                        }
849
850
                        $optgroup['options'][] = array(
851
                            $input->get('id'),
852
                            ($fields['source'] === $section_id && $fields['group'] === $input->get('id')),
853
                            $input->get('label')
854
                        );
855
                    }