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

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

@@ 405-409 (lines=5) @@
402
                );
403
            }
404
405
            if (isset($data['value']) && is_array($data['value']) === false) {
406
                $data['value'] = array(
407
                    $data['value']
408
                );
409
            }
410
411
            // Handle => Value pairs:
412
            if ($mode === $modes->listHandleToValue) {

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

@@ 319-321 (lines=3) @@
316
        ) {
317
            $value = null;
318
319
            if (isset($data['value'])) {
320
                $value = (is_array($data['value']) ? self::__tagArrayToString($data['value']) : $data['value']);
321
            }
322
323
            $label = Widget::Label($this->get('label'));
324
@@ 471-473 (lines=3) @@
468
469
            $value = '';
470
471
            if (isset($data['value'])) {
472
                $value = (is_array($data['value']) ? self::__tagArrayToString($data['value']) : $data['value']);
473
            }
474
475
            return General::sanitize($value);
476
        }
@@ 502-506 (lines=5) @@
499
                );
500
            }
501
502
            if (isset($data['value']) && is_array($data['value']) === false) {
503
                $data['value'] = array(
504
                    $data['value']
505
                );
506
            }
507
508
            // Handle => value pairs:
509
            if ($mode === $modes->listHandleToValue) {