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

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

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

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

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

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