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

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