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

@@ 284-298 (lines=15) @@
281
            return strnatcasecmp($a->_name, $b->_name);
282
        });
283
284
        foreach ($types as $type) {
285
            $defaults = array();
286
287
            $type->findDefaults($defaults);
288
            $type->setArray($defaults);
289
290
            $wrapper = new XMLElement('li');
291
            $wrapper->setAttribute('class', 'template field-' . $type->handle() . ($type->mustBeUnique() ? ' unique' : null));
292
            $wrapper->setAttribute('data-type', $type->handle());
293
294
            $type->set('sortorder', '-1');
295
            $type->displaySettingsPanel($wrapper);
296
297
            $ol->appendChild($wrapper);
298
        }
299
300
        $div->appendChild($ol);
301
        $fieldset->appendChild($div);
@@ 499-514 (lines=16) @@
496
            return strnatcasecmp($a->_name, $b->_name);
497
        });
498
499
        foreach ($types as $type) {
500
            $defaults = array();
501
502
            $type->findDefaults($defaults);
503
            $type->setArray($defaults);
504
505
            $wrapper = new XMLElement('li');
506
507
            $wrapper->setAttribute('class', 'template field-' . $type->handle() . ($type->mustBeUnique() ? ' unique' : null));
508
            $wrapper->setAttribute('data-type', $type->handle());
509
510
            $type->set('sortorder', '-1');
511
            $type->displaySettingsPanel($wrapper);
512
513
            $ol->appendChild($wrapper);
514
        }
515
516
        $div->appendChild($ol);
517
        $fieldset->appendChild($div);