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 2 locations

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

@@ 289-299 (lines=11) @@
286
            $embeddedFields = explode('.', $fieldName);
287
            $fieldName = $this->parser->camelize($embeddedFields[count($embeddedFields) - 1]);
288
289
            if ($filtering->isListOperator()) {
290
                $whereCondition =
291
                    $relationEntityAlias . '.' . $fieldName . ' ' .
292
                    $op->getMeta() . ' ' .
293
                    '(:field_' . $fieldName . $saltObj->getSalt() . ')';
294
            } else {
295
                $whereCondition =
296
                    $relationEntityAlias . '.' . $fieldName . ' ' .
297
                    $op->getMeta() . ' ' .
298
                    ':field_' . $fieldName . $saltObj->getSalt();
299
            }
300
301
            $this->qBuilder->andWhere($whereCondition);
302
            if ($op->haveSubstitutionPattern()) {
@@ 402-412 (lines=11) @@
399
            $embeddedFields = explode('.', $fieldName);
400
            $fieldName = $this->parser->camelize($embeddedFields[count($embeddedFields) - 1]);
401
402
            if ($filtering->isListOperator()) {
403
                $whereCondition =
404
                    $relationEntityAlias . '.' . $fieldName . ' ' .
405
                    $op->getMeta() . ' ' .
406
                    '(:field_' . $fieldName . $saltObj->getSalt() . ')';
407
            } else {
408
                $whereCondition =
409
                    $relationEntityAlias . '.' . $fieldName . ' ' .
410
                    $op->getMeta() . ' ' .
411
                    ':field_' . $fieldName . $saltObj->getSalt();
412
            }
413
414
            if ($orCondition['orCondition'] != null) {
415
                $orCondition['orCondition'] .= ' OR ' . $whereCondition;