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

DependencyInjection/Configuration.php 2 locations

@@ 227-233 (lines=7) @@
224
                                    ->ifArray()->then(function($v) {
225
                                        $options = 0;
226
                                        foreach ($v as $option) {
227
                                            if (is_numeric($option)) {
228
                                                $options |= (int) $option;
229
                                            } elseif (defined($option)) {
230
                                                $options |= constant($option);
231
                                            } else {
232
                                                throw new InvalidArgumentException('Expected either an integer representing one of the JSON_ constants, or a string of the constant itself.');
233
                                            }
234
                                        }
235
236
                                        return $options;
@@ 241-247 (lines=7) @@
238
                                ->end()
239
                                ->beforeNormalization()
240
                                    ->ifString()->then(function($v) {
241
                                        if (is_numeric($v)) {
242
                                            $value = (int) $v;
243
                                        } elseif (defined($v)) {
244
                                            $value = constant($v);
245
                                        } else {
246
                                            throw new InvalidArgumentException('Expected either an integer representing one of the JSON_ constants, or a string of the constant itself.');
247
                                        }
248
249
                                        return $value;
250
                                    })