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 = 19-19 lines in 2 locations

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

@@ 242-260 (lines=19) @@
239
            // filtering[foo|bar]
240
            // $filterAndOperator[0] = 'foo'
241
            // $filterAndOperator[1] = 'bar'
242
            if (isset($filterAndOperator[1])) {
243
                if ('list' == $filterAndOperator[1]) {
244
                    $whereCondition = $this->entityAlias.'.'.$fieldName.' '.$operator['meta'].' (:field_'.$fieldName . $salt . ')';
245
                } else if ('field_eq' == $filterAndOperator[1]) {
246
                    $whereCondition =
247
                        $this->entityAlias . '.' . $fieldName . ' '.
248
                        $operator['meta'] . '' .
249
                        $this->entityAlias . '.' . $value
250
                        ;
251
                    //} else {
252
                    //throw new \RuntimeException(
253
                    //'Oops! Eccezzione'
254
                    //);
255
                } else {
256
                    $whereCondition = $this->entityAlias.'.'.$fieldName.' '.$operator['meta'].' :field_'.$fieldName . $salt;
257
                }
258
            } else {
259
                $whereCondition = $this->entityAlias.'.'.$fieldName.' = :field_'.$fieldName . $salt;
260
            }
261
262
            $this->qBuilder->andWhere($whereCondition);
263
@@ 356-374 (lines=19) @@
353
            // filtering[foo|bar]
354
            // $filterAndOperator[0] = 'foo'
355
            // $filterAndOperator[1] = 'bar'
356
            if (isset($filterAndOperator[1])) {
357
                if ('list' == $filterAndOperator[1]) {
358
                    $whereCondition = $this->entityAlias.'.'.$fieldName.' '.$operator['meta'].' (:field_'.$fieldName . $salt . ')';
359
                } else if ('field_eq' == $filterAndOperator[1]) {
360
                    $whereCondition =
361
                        $this->entityAlias . '.' . $fieldName . ' '.
362
                        $operator['meta'] . '' .
363
                        $this->entityAlias . '.' . $value
364
                    ;
365
                    //} else {
366
                    //throw new \RuntimeException(
367
                    //'Oops! Eccezzione'
368
                    //);
369
                } else {
370
                    $whereCondition = $this->entityAlias.'.'.$fieldName.' '.$operator['meta'].' :field_'.$fieldName . $salt;
371
                }
372
            } else {
373
                $whereCondition = $this->entityAlias.'.'.$fieldName.' = :field_'.$fieldName . $salt;
374
            }
375
376
            if ($orCondition['orCondition'] != null) {
377
                $orCondition['orCondition'] .= ' OR ' . $whereCondition;