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 2 locations

symphony/lib/toolkit/fields/field.author.php 1 location

@@ 144-148 (lines=5) @@
141
                ))
142
            );
143
144
            if (isset($errors['author_types'])) {
145
                $wrapper->appendChild(Widget::Error($label, $errors['author_types']));
146
            } else {
147
                $wrapper->appendChild($label);
148
            }
149
150
            // Options
151
            $div = new XMLElement('div', null, array('class' => 'two columns'));

symphony/lib/toolkit/fields/field.upload.php 1 location

@@ 170-174 (lines=5) @@
167
168
            $label->appendChild(Widget::Select('fields[' . $this->get('sortorder') . '][destination]', $options));
169
170
            if (isset($errors['destination'])) {
171
                $wrapper->appendChild(Widget::Error($label, $errors['destination']));
172
            } else {
173
                $wrapper->appendChild($label);
174
            }
175
176
            // Validation rule
177
            $this->buildValidationSelect($wrapper, $this->get('validator'),