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

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

@@ 244-248 (lines=5) @@
241
        if (in_array($fieldName, $this->fields)) {
242
243
            $salt = '';
244
            foreach ($this->qBuilder->getParameters() as $parameter) {
245
                if ($parameter->getName() == 'field_' . $fieldName) {
246
                    $salt = '_' . rand(111, 999);
247
                }
248
            }
249
250
            if ($filtering->hasOperator()) {
251
                if ('list' == $filtering->getOperator()) {
@@ 300-304 (lines=5) @@
297
            $fieldName = $this->parser->camelize($embeddedFields[count($embeddedFields)-1]);
298
299
            $salt = '';
300
            foreach ($this->qBuilder->getParameters() as $parameter) {
301
                if ($parameter->getName() == 'field_' . $fieldName) {
302
                    $salt = '_' . rand(111, 999);
303
                }
304
            }
305
306
            if ($filtering->hasOperator() && 'list' == $filtering->getOperator()) {
307
                $whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' (:field_'.$fieldName . $salt . ')';
@@ 346-350 (lines=5) @@
343
        if (in_array($fieldName, $this->fields)) {
344
345
            $salt = '';
346
            foreach ($this->qBuilder->getParameters() as $parameter) {
347
                if ($parameter->getName() == 'field_' . $fieldName) {
348
                    $salt = '_' . rand(111, 999);
349
                }
350
            }
351
352
            if ($filtering->hasOperator()) {
353
                if ('list' == $filtering->getOperator()) {
@@ 413-417 (lines=5) @@
410
            $fieldName = $this->parser->camelize($embeddedFields[count($embeddedFields)-1]);
411
412
            $salt = '';
413
            foreach ($this->qBuilder->getParameters() as $parameter) {
414
                if ($parameter->getName() == 'field_' . $fieldName) {
415
                    $salt = '_' . rand(111, 999);
416
                }
417
            }
418
419
            if ($filtering->hasOperator() && 'list' == $filtering->getOperator()) {
420
                $whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' (:field_'.$fieldName . $salt . ')';