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/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(

symphony/content/content.publish.php 1 location

@@ 432-437 (lines=6) @@
429
                    continue;
430
                }
431
432
                if (!is_array($value)) {
433
                    $filter_type = Datasource::determineFilterType($value);
434
                    $value = preg_split('/'.($filter_type === Datasource::FILTER_AND ? '\+' : '(?<!\\\\),').'\s*/', $value, -1, PREG_SPLIT_NO_EMPTY);
435
                    $value = array_map('trim', $value);
436
                    $value = array_map(array('Datasource', 'removeEscapedCommas'), $value);
437
                }
438
439
                // Handle date meta data #2003
440
                $handle = Symphony::Database()->cleanValue($handle);