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

@@ 274-288 (lines=15) @@
271
                $navgroupdiv->appendChild($label);
272
            }
273
274
            if (is_array($sections) && !empty($sections)) {
275
                $ul = new XMLElement('ul', null,
276
                    array('class' => 'tags singular', 'data-interactive' => 'data-interactive'));
277
                $groups = array();
278
279
                foreach ($sections as $s) {
280
                    if (in_array($s->get('navigation_group'), $groups)) {
281
                        continue;
282
                    }
283
284
                    $ul->appendChild(new XMLElement('li', $s->get('navigation_group')));
285
                    $groups[] = $s->get('navigation_group');
286
                }
287
288
                $navgroupdiv->appendChild($ul);
289
            }
290
291
            $div->appendChild($navgroupdiv);
@@ 535-549 (lines=15) @@
532
                $navgroupdiv->appendChild($label);
533
            }
534
535
            if (is_array($sections) && !empty($sections)) {
536
                $ul = new XMLElement('ul', null,
537
                    array('class' => 'tags singular', 'data-interactive' => 'data-interactive'));
538
                $groups = array();
539
540
                foreach ($sections as $s) {
541
                    if (in_array($s->get('navigation_group'), $groups)) {
542
                        continue;
543
                    }
544
545
                    $ul->appendChild(new XMLElement('li', $s->get('navigation_group')));
546
                    $groups[] = $s->get('navigation_group');
547
                }
548
549
                $navgroupdiv->appendChild($ul);
550
            }
551
552
            $div->appendChild($navgroupdiv);