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 = 6-8 lines in 2 locations

symphony/content/content.publish.php 1 location

@@ 417-422 (lines=6) @@
414
                    continue;
415
                }
416
417
                if (!is_array($value)) {
418
                    $filter_type = Datasource::determineFilterType($value);
419
                    $value = preg_split('/'.($filter_type === Datasource::FILTER_AND ? '\+' : '(?<!\\\\),').'\s*/', $value, -1, PREG_SPLIT_NO_EMPTY);
420
                    $value = array_map('trim', $value);
421
                    $value = array_map(array('Datasource', 'removeEscapedCommas'), $value);
422
                }
423
424
                // Handle date meta data #2003
425
                $handle = Symphony::Database()->cleanValue($handle);

symphony/lib/toolkit/data-sources/class.datasource.section.php 1 location

@@ 357-364 (lines=8) @@
354
                continue;
355
            }
356
357
            if (!is_array($filter)) {
358
                $filter_type = Datasource::determineFilterType($filter);
359
                $value = preg_split('/'.($filter_type === Datasource::FILTER_AND ? '\+' : '(?<!\\\\),').'\s*/', $filter, -1, PREG_SPLIT_NO_EMPTY);
360
                $value = array_map('trim', $value);
361
                $value = array_map(array('Datasource', 'removeEscapedCommas'), $value);
362
            } else {
363
                $value = $filter;
364
            }
365
366
            if (!in_array($field_id, self::$_system_parameters) && $field_id !== 'id' && !(self::$_fieldPool[$field_id] instanceof Field)) {
367
                throw new Exception(