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

@@ 221-225 (lines=5) @@
218
        if (in_array($fieldName, $this->fields)) {
219
220
            $salt = '';
221
            foreach ($this->qBuilder->getParameters() as $parameter) {
222
                if ($parameter->getName() == 'field_' . $fieldName) {
223
                    $salt = '_' . rand(111, 999);
224
                }
225
            }
226
227
            if ($filtering->hasOperator()) {
228
                if ('list' == $filtering->getOperator()) {
@@ 277-281 (lines=5) @@
274
            $fieldName = $this->parser->camelize($embeddedFields[count($embeddedFields)-1]);
275
276
            $salt = '';
277
            foreach ($this->qBuilder->getParameters() as $parameter) {
278
                if ($parameter->getName() == 'field_' . $fieldName) {
279
                    $salt = '_' . rand(111, 999);
280
                }
281
            }
282
283
            if ($filtering->hasOperator() && 'list' == $filtering->getOperator()) {
284
                $whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' (:field_'.$fieldName . $salt . ')';
@@ 323-327 (lines=5) @@
320
        if (in_array($fieldName, $this->fields)) {
321
322
            $salt = '';
323
            foreach ($this->qBuilder->getParameters() as $parameter) {
324
                if ($parameter->getName() == 'field_' . $fieldName) {
325
                    $salt = '_' . rand(111, 999);
326
                }
327
            }
328
329
            if ($filtering->hasOperator()) {
330
                if ('list' == $filtering->getOperator()) {
@@ 394-398 (lines=5) @@
391
            $fieldName = $this->parser->camelize($embeddedFields[count($embeddedFields)-1]);
392
393
            $salt = '';
394
            foreach ($this->qBuilder->getParameters() as $parameter) {
395
                if ($parameter->getName() == 'field_' . $fieldName) {
396
                    $salt = '_' . rand(111, 999);
397
                }
398
            }
399
400
            if ($filtering->hasOperator() && 'list' == $filtering->getOperator()) {
401
                $whereCondition = $relationEntityAlias.'.'.$fieldName.' '.$operator['meta'].' (:field_'.$fieldName . $salt . ')';