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 = 13-14 lines in 4 locations

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

@@ 246-259 (lines=14) @@
243
        );
244
    }
245
246
    public function prepareImportValue($data, $mode, $entry_id = null)
247
    {
248
        $status = $message = null;
249
        $modes = (object)$this->getImportModes();
250
        $value = $this->processRawFieldData($data, $status, $message, true, $entry_id);
251
252
        if ($mode === $modes->getValue) {
253
            return $value['value'];
254
        } elseif ($mode === $modes->getPostdata) {
255
            return $value;
256
        }
257
258
        return null;
259
    }
260
261
    /*-------------------------------------------------------------------------
262
        Export:

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

@@ 229-241 (lines=13) @@
226
        );
227
    }
228
229
    public function prepareImportValue($data, $mode, $entry_id = null)
230
    {
231
        $message = $status = null;
232
        $modes = (object)$this->getImportModes();
233
234
        if ($mode === $modes->getValue) {
235
            return $data;
236
        } elseif ($mode === $modes->getPostdata) {
237
            return $this->processRawFieldData($data, $status, $message, true, $entry_id);
238
        }
239
240
        return null;
241
    }
242
243
    /*-------------------------------------------------------------------------
244
        Export:

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

@@ 284-296 (lines=13) @@
281
        );
282
    }
283
284
    public function prepareImportValue($data, $mode, $entry_id = null)
285
    {
286
        $message = $status = null;
287
        $modes = (object)$this->getImportModes();
288
289
        if ($mode === $modes->getValue) {
290
            return $data;
291
        } elseif ($mode === $modes->getPostdata) {
292
            return $this->processRawFieldData($data, $status, $message, true, $entry_id);
293
        }
294
295
        return null;
296
    }
297
298
    /*-------------------------------------------------------------------------
299
        Export:

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

@@ 647-659 (lines=13) @@
644
        );
645
    }
646
647
    public function prepareImportValue($data, $mode, $entry_id = null)
648
    {
649
        $message = $status = null;
650
        $modes = (object)$this->getImportModes();
651
652
        if ($mode === $modes->getValue) {
653
            return $data;
654
        } elseif ($mode === $modes->getPostdata) {
655
            return $this->processRawFieldData($data, $status, $message, true, $entry_id);
656
        }
657
658
        return null;
659
    }
660
661
    /*-------------------------------------------------------------------------
662
        Export: