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

symphony/content/content.blueprintsdatasources.php 2 locations

@@ 352-371 (lines=20) @@
349
            $ol->setAttribute('data-remove', __('Remove filter'));
350
351
            // Add system:id filter
352
            if (
353
                isset($fields['filter'][$section_id]['system:id'])
354
                || isset($fields['filter'][$section_id]['id'])
355
            ) {
356
                $id = isset($fields['filter'][$section_id]['system:id'])
357
                    ? $fields['filter'][$section_id]['system:id']
358
                    : $fields['filter'][$section_id]['id'];
359
360
                $li = new XMLElement('li');
361
                $li->setAttribute('class', 'unique');
362
                $li->setAttribute('data-type', 'system:id');
363
                $li->appendChild(new XMLElement('header', '<h4>' . __('System ID') . '</h4>'));
364
                $label = Widget::Label(__('Value'));
365
                $input = Widget::Input('fields[filter]['.$section_id.'][system:id]', General::sanitize($id));
366
                $input->setAttribute('data-search-types', 'parameters');
367
                $input->setAttribute('data-trigger', '{$');
368
                $label->appendChild($input);
369
                $li->appendChild($label);
370
                $ol->appendChild($li);
371
            }
372
373
            $li = new XMLElement('li');
374
            $li->setAttribute('class', 'unique template');
@@ 386-405 (lines=20) @@
383
            $ol->appendChild($li);
384
385
            // Add system:date filter
386
            if (
387
                isset($fields['filter'][$section_id]['system:creation-date'])
388
                || isset($fields['filter'][$section_id]['system:date'])
389
            ) {
390
                $creation_date = isset($fields['filter'][$section_id]['system:creation-date'])
391
                    ? $fields['filter'][$section_id]['system:creation-date']
392
                    : $fields['filter'][$section_id]['system:date'];
393
394
                $li = new XMLElement('li');
395
                $li->setAttribute('class', 'unique');
396
                $li->setAttribute('data-type', 'system:creation-date');
397
                $li->appendChild(new XMLElement('header', '<h4>' . __('System Creation Date') . '</h4>'));
398
                $label = Widget::Label(__('Value'));
399
                $input = Widget::Input('fields[filter]['.$section_id.'][system:creation-date]', General::sanitize($creation_date));
400
                $input->setAttribute('data-search-types', 'parameters');
401
                $input->setAttribute('data-trigger', '{$');
402
                $label->appendChild($input);
403
                $li->appendChild($label);
404
                $ol->appendChild($li);
405
            }
406
407
            $li = new XMLElement('li');
408
            $li->setAttribute('class', 'unique template');