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 = 5-5 lines in 3 locations

symphony/content/content.blueprintsevents.php 1 location

@@ 198-202 (lines=5) @@
195
            $div = new XMLElement('div');
196
            $div->setAttribute('class', 'column');
197
198
            if (isset($this->_errors['name'])) {
199
                $div->appendChild(Widget::Error($label, $this->_errors['name']));
200
            } else {
201
                $div->appendChild($label);
202
            }
203
            $group->appendChild($div);
204
            $fieldset->appendChild($group);
205
            $this->Form->appendChild($fieldset);

symphony/content/content.blueprintssections.php 2 locations

@@ 190-194 (lines=5) @@
187
        $label = Widget::Label(__('Name'));
188
        $label->appendChild(Widget::Input('meta[name]', (isset($meta['name']) ? General::sanitize($meta['name']) : null)));
189
190
        if (isset($this->_errors['name'])) {
191
            $namediv->appendChild(Widget::Error($label, $this->_errors['name']));
192
        } else {
193
            $namediv->appendChild($label);
194
        }
195
196
        $fieldset->appendChild($namediv);
197
@@ 408-412 (lines=5) @@
405
        $label = Widget::Label(__('Name'));
406
        $label->appendChild(Widget::Input('meta[name]', (isset($meta['name']) ? General::sanitize($meta['name']) : null)));
407
408
        if (isset($this->_errors['name'])) {
409
            $namediv->appendChild(Widget::Error($label, $this->_errors['name']));
410
        } else {
411
            $namediv->appendChild($label);
412
        }
413
414
        $fieldset->appendChild($namediv);
415