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

symphony/content/content.blueprintsdatasources.php 1 location

@@ 329-331 (lines=3) @@
326
                array_unshift($options,
327
                    array('label' => __('Sections'), 'data-label' => 'sections', 'options' => array()));
328
329
                foreach ($sections as $s) {
330
                    $options[0]['options'][] = array(
331
                        $s->get('id'),
332
                        ($fields['source'] === $s->get('id')),
333
                        General::sanitize($s->get('name'))
334
                    );

symphony/content/content.blueprintsevents.php 1 location

@@ 139-141 (lines=3) @@
136
                if (is_array($sections) && !empty($sections)) {
137
                    $section_options = array('label' => __('Sections'), 'options' => array());
138
139
                    foreach ($sections as $s) {
140
                        $section_options['options'][] = array(
141
                            $s->get('id'),
142
                            $source === $s->get('id'),
143
                            General::sanitize($s->get('name'))
144
                        );