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

src/Mado/QueryBundle/Objects/Salt.php 1 location

@@ 22-26 (lines=5) @@
19
    {
20
        $this->salt = '';
21
22
        foreach ($this->qBuilder->getParameters() as $parameter) {
23
            if ($parameter->getName() == 'field_' . $fieldName) {
24
                $this->salt = '_' . rand(111, 999);
25
            }
26
        }
27
    }
28
29
    public function getSalt() : string

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

@@ 331-335 (lines=5) @@
328
        if (in_array($fieldName, $this->fields)) {
329
330
            $salt = '';
331
            foreach ($this->qBuilder->getParameters() as $parameter) {
332
                if ($parameter->getName() == 'field_' . $fieldName) {
333
                    $salt = '_' . rand(111, 999);
334
                }
335
            }
336
337
            if ($filtering->hasOperator()) {
338
                if ('list' == $filtering->getOperator()) {
@@ 408-412 (lines=5) @@
405
            $fieldName = $this->parser->camelize($embeddedFields[count($embeddedFields) - 1]);
406
407
            $salt = '';
408
            foreach ($this->qBuilder->getParameters() as $parameter) {
409
                if ($parameter->getName() == 'field_' . $fieldName) {
410
                    $salt = '_' . rand(111, 999);
411
                }
412
            }
413
414
            if ($filtering->hasOperator() && 'list' == $filtering->getOperator()) {
415
                $whereCondition =