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

@@ 185-190 (lines=6) @@
182
                        continue;
183
                    }
184
185
                    if (!is_array($value)) {
186
                        $filter_type = Datasource::determineFilterType($value);
187
                        $value = preg_split('/' . ($filter_type === Datasource::FILTER_AND ? '\+' : '(?<!\\\\),') . '\s*/',
188
                            $value, -1, PREG_SPLIT_NO_EMPTY);
189
                        $value = array_map('trim', $value);
190
                        $value = array_map(array('Datasource', 'removeEscapedCommas'), $value);
191
                    }
192
193
                    // Handle date meta data #2003

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

@@ 308-315 (lines=8) @@
305
                    continue;
306
                }
307
308
                if (!is_array($filter)) {
309
                    $filter_type = Datasource::determineFilterType($filter);
310
                    $value = preg_split('/' . ($filter_type === Datasource::FILTER_AND ? '\+' : '(?<!\\\\),') . '\s*/',
311
                        $filter, -1, PREG_SPLIT_NO_EMPTY);
312
                    $value = array_map('trim', $value);
313
                    $value = array_map(array('Datasource', 'removeEscapedCommas'), $value);
314
                } else {
315
                    $value = $filter;
316
                }
317
318
                if (!in_array($field_id,