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

symphony/content/content.blueprintssections.php 2 locations

@@ 225-239 (lines=15) @@
222
            $navgroupdiv->appendChild($label);
223
        }
224
225
        if (is_array($sections) && !empty($sections)) {
226
            $ul = new XMLElement('ul', null, array('class' => 'tags singular', 'data-interactive' => 'data-interactive'));
227
            $groups = array();
228
229
            foreach ($sections as $s) {
230
                if (in_array($s->get('navigation_group'), $groups)) {
231
                    continue;
232
                }
233
234
                $ul->appendChild(new XMLElement('li', General::sanitize($s->get('navigation_group'))));
235
                $groups[] = $s->get('navigation_group');
236
            }
237
238
            $navgroupdiv->appendChild($ul);
239
        }
240
241
        $div->appendChild($navgroupdiv);
242
        $fieldset->appendChild($div);
@@ 443-457 (lines=15) @@
440
            $navgroupdiv->appendChild($label);
441
        }
442
443
        if (is_array($sections) && !empty($sections)) {
444
            $ul = new XMLElement('ul', null, array('class' => 'tags singular', 'data-interactive' => 'data-interactive'));
445
            $groups = array();
446
447
            foreach ($sections as $s) {
448
                if (in_array($s->get('navigation_group'), $groups)) {
449
                    continue;
450
                }
451
452
                $ul->appendChild(new XMLElement('li', General::sanitize($s->get('navigation_group'))));
453
                $groups[] = $s->get('navigation_group');
454
            }
455
456
            $navgroupdiv->appendChild($ul);
457
        }
458
459
        $div->appendChild($navgroupdiv);
460
        $fieldset->appendChild($div);