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

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

@@ 164-167 (lines=4) @@
161
            return self::__MISSING_FIELDS__;
162
        }
163
164
        if (!$this->__applyValidationRules($data)) {
165
            $message = __('ā€˜%s’ contains invalid data. Please check the contents.', array($this->get('label')));
166
            return self::__INVALID_FIELDS__;
167
        }
168
169
        return self::__OK__;
170
    }

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

@@ 335-339 (lines=5) @@
332
                && $data['error'] == UPLOAD_ERR_NO_FILE
333
            )
334
        ) {
335
            if ($this->get('required') === 'yes') {
336
                $message = __('ā€˜%s’ is a required field.', array($this->get('label')));
337
338
                return self::__MISSING_FIELDS__;
339
            }
340
341
            return self::__OK__;
342
        }