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

@@ 307-321 (lines=15) @@
304
            return strnatcasecmp($a->_name, $b->_name);
305
        });
306
307
        foreach ($types as $type) {
308
            $defaults = array();
309
310
            $type->findDefaults($defaults);
311
            $type->setArray($defaults);
312
313
            $wrapper = new XMLElement('li');
314
            $wrapper->setAttribute('class', 'template field-' . $type->handle() . ($type->mustBeUnique() ? ' unique' : null));
315
            $wrapper->setAttribute('data-type', $type->handle());
316
317
            $type->set('sortorder', '-1');
318
            $type->displaySettingsPanel($wrapper);
319
320
            $ol->appendChild($wrapper);
321
        }
322
323
        $div->appendChild($ol);
324
        $fieldset->appendChild($div);
@@ 514-529 (lines=16) @@
511
            return strnatcasecmp($a->_name, $b->_name);
512
        });
513
514
        foreach ($types as $type) {
515
            $defaults = array();
516
517
            $type->findDefaults($defaults);
518
            $type->setArray($defaults);
519
520
            $wrapper = new XMLElement('li');
521
522
            $wrapper->setAttribute('class', 'template field-' . $type->handle() . ($type->mustBeUnique() ? ' unique' : null));
523
            $wrapper->setAttribute('data-type', $type->handle());
524
525
            $type->set('sortorder', '-1');
526
            $type->displaySettingsPanel($wrapper);
527
528
            $ol->appendChild($wrapper);
529
        }
530
531
        $div->appendChild($ol);
532
        $fieldset->appendChild($div);