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

symphony/lib/toolkit/fields/field.input.php 2 locations

@@ 153-156 (lines=4) @@
150
151
            $data = trim($data);
152
153
            if ($this->get('required') === 'yes' && strlen($data) === 0) {
154
                $message = __('‘%s’ is a required field.', array($this->get('label')));
155
156
                return self::__MISSING_FIELDS__;
157
            }
158
159
            if (!$this->__applyValidationRules($data)) {
@@ 159-162 (lines=4) @@
156
                return self::__MISSING_FIELDS__;
157
            }
158
159
            if (!$this->__applyValidationRules($data)) {
160
                $message = __('‘%s’ contains invalid data. Please check the contents.', array($this->get('label')));
161
162
                return self::__INVALID_FIELDS__;
163
            }
164
165
            return self::__OK__;

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

@@ 300-304 (lines=5) @@
297
                    && $data['error'] === UPLOAD_ERR_NO_FILE
298
                )
299
            ) {
300
                if ($this->get('required') === 'yes') {
301
                    $message = __('‘%s’ is a required field.', array($this->get('label')));
302
303
                    return self::__MISSING_FIELDS__;
304
                }
305
306
                return self::__OK__;
307
            }