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

@@ 307-317 (lines=11) @@
304
305
            $this->qBuilder->andWhere($whereCondition);
306
307
            if (isset($operator['substitution_pattern'])) {
308
                if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) {
309
                    $value = explode(',', $value);
310
                } else {
311
                    $value = str_replace(
312
                        '{string}',
313
                        $value,
314
                        $operator['substitution_pattern']
315
                    );
316
                }
317
            }
318
319
            $this->qBuilder->setParameter('field_' . $fieldName . $salt, $value);
320
        } else {
@@ 352-362 (lines=11) @@
349
            }
350
351
            $this->qBuilder->andWhere($whereCondition);
352
            if (isset($operator['substitution_pattern'])) {
353
                if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) {
354
                    $value = explode(',', $value);
355
                } else {
356
                    $value = str_replace(
357
                        '{string}',
358
                        $value,
359
                        $operator['substitution_pattern']
360
                    );
361
                }
362
            }
363
364
            $this->qBuilder->setParameter('field_' . $fieldName . $salt, $value);
365
        }
@@ 425-435 (lines=11) @@
422
                $orCondition['orCondition'] = $whereCondition;
423
            }
424
425
            if (isset($operator['substitution_pattern'])) {
426
                if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) {
427
                    $value = explode(',', $value);
428
                } else {
429
                    $value = str_replace(
430
                        '{string}',
431
                        $value,
432
                        $operator['substitution_pattern']
433
                    );
434
                }
435
            }
436
437
            $orCondition['parameters'][] = [
438
                'field' => 'field_' . $fieldName . $salt,
@@ 486-496 (lines=11) @@
483
                $orCondition['orCondition'] = $whereCondition;
484
            }
485
486
            if (isset($operator['substitution_pattern'])) {
487
                if (isset($filterAndOperator[1]) && 'list' == $filterAndOperator[1]) {
488
                    $value = explode(',', $value);
489
                } else {
490
                    $value = str_replace(
491
                        '{string}',
492
                        $value,
493
                        $operator['substitution_pattern']
494
                    );
495
                }
496
            }
497
498
            $orCondition['parameters'][] = [
499
                'field' => 'field_' . $fieldName . $salt,