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

symphony/content/content.blueprintssections.php 2 locations

@@ 335-349 (lines=15) @@
332
                return strnatcasecmp($a->_name, $b->_name);
333
            });
334
335
            foreach ($types as $type) {
336
                $defaults = array();
337
338
                $type->findDefaults($defaults);
339
                $type->setArray($defaults);
340
341
                $wrapper = new XMLElement('li');
342
                $wrapper->setAttribute('class',
343
                    'template field-' . $type->handle() . ($type->mustBeUnique() ? ' unique' : null));
344
                $wrapper->setAttribute('data-type', $type->handle());
345
346
                $type->set('sortorder', '-1');
347
                $type->displaySettingsPanel($wrapper);
348
349
                $ol->appendChild($wrapper);
350
            }
351
352
            $div->appendChild($ol);
@@ 594-609 (lines=16) @@
591
                return strnatcasecmp($a->_name, $b->_name);
592
            });
593
594
            foreach ($types as $type) {
595
                $defaults = array();
596
597
                $type->findDefaults($defaults);
598
                $type->setArray($defaults);
599
600
                $wrapper = new XMLElement('li');
601
602
                $wrapper->setAttribute('class',
603
                    'template field-' . $type->handle() . ($type->mustBeUnique() ? ' unique' : null));
604
                $wrapper->setAttribute('data-type', $type->handle());
605
606
                $type->set('sortorder', '-1');
607
                $type->displaySettingsPanel($wrapper);
608
609
                $ol->appendChild($wrapper);
610
            }
611
612
            $div->appendChild($ol);