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.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:

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: