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

src/Mado/QueryBundle/Queries/QueryBuilderFactory.php 4 locations

@@ 264-274 (lines=11) @@
261
262
            $this->qBuilder->andWhere($whereCondition);
263
264
            if (isset($operator['substitution_pattern'])) {
265
                if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) {
266
                    $value = explode(',', $value);
267
                } else {
268
                    $value = str_replace(
269
                        '{string}',
270
                        $value,
271
                        $operator['substitution_pattern']
272
                    );
273
                }
274
            }
275
276
            $this->qBuilder->setParameter('field_' . $fieldName . $salt, $value);
277
        } else {
@@ 309-319 (lines=11) @@
306
            }
307
308
            $this->qBuilder->andWhere($whereCondition);
309
            if (isset($operator['substitution_pattern'])) {
310
                if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) {
311
                    $value = explode(',', $value);
312
                } else {
313
                    $value = str_replace(
314
                        '{string}',
315
                        $value,
316
                        $operator['substitution_pattern']
317
                    );
318
                }
319
            }
320
321
            $this->qBuilder->setParameter('field_' . $fieldName . $salt, $value);
322
        }
@@ 382-392 (lines=11) @@
379
                $orCondition['orCondition'] = $whereCondition;
380
            }
381
382
            if (isset($operator['substitution_pattern'])) {
383
                if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) {
384
                    $value = explode(',', $value);
385
                } else {
386
                    $value = str_replace(
387
                        '{string}',
388
                        $value,
389
                        $operator['substitution_pattern']
390
                    );
391
                }
392
            }
393
394
            $orCondition['parameters'][] = [
395
                'field' => 'field_' . $fieldName . $salt,
@@ 443-453 (lines=11) @@
440
                $orCondition['orCondition'] = $whereCondition;
441
            }
442
443
            if (isset($operator['substitution_pattern'])) {
444
                if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) {
445
                    $value = explode(',', $value);
446
                } else {
447
                    $value = str_replace(
448
                        '{string}',
449
                        $value,
450
                        $operator['substitution_pattern']
451
                    );
452
                }
453
            }
454
455
            $orCondition['parameters'][] = [
456
                'field' => 'field_' . $fieldName . $salt,