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

symphony/lib/toolkit/fields/field.upload.php 3 locations

@@ 194-200 (lines=7) @@
191
                $errors['destination'] = __('The destination directory, %s, does not exist.', array(
192
                    '<code>' . $this->get('destination') . '</code>'
193
                ));
194
            } elseif (is_writable(DOCROOT . $this->get('destination') . '/') === false) {
195
                $errors['destination'] = __('The destination directory is not writable.')
196
                    . ' '
197
                    . __('Please check permissions on %s.', array(
198
                        '<code>' . $this->get('destination') . '</code>'
199
                    ));
200
            }
201
202
            parent::checkFields($errors, $checkForDuplicates);
203
        }
@@ 237-243 (lines=7) @@
234
                $flagWithError = __('The destination directory, %s, does not exist.', array(
235
                    '<code>' . $this->get('destination') . '</code>'
236
                ));
237
            } elseif ($flagWithError && is_writable(DOCROOT . $this->get('destination') . '/') === false) {
238
                $flagWithError = __('Destination folder is not writable.')
239
                    . ' '
240
                    . __('Please check permissions on %s.', array(
241
                        '<code>' . $this->get('destination') . '</code>'
242
                    ));
243
            }
244
245
            $label = Widget::Label($this->get('label'));
246
            $label->setAttribute('class', 'file');
@@ 329-337 (lines=9) @@
326
                ));
327
328
                return self::__ERROR__;
329
            } elseif (is_writable(DOCROOT . $this->get('destination') . '/') === false) {
330
                $message = __('Destination folder is not writable.')
331
                    . ' '
332
                    . __('Please check permissions on %s.', array(
333
                        '<code>' . $this->get('destination') . '</code>'
334
                    ));
335
336
                return self::__ERROR__;
337
            }
338
339
            if ($data['error'] !== UPLOAD_ERR_NO_FILE && $data['error'] !== UPLOAD_ERR_OK) {
340
                switch ($data['error']) {