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

vendor/squizlabs/php_codesniffer/CodeSniffer.php 6 locations

@@ 760-763 (lines=4) @@
757
            }
758
759
            $this->setConfigData((string) $config['name'], (string) $config['value'], true);
760
            if (PHP_CODESNIFFER_VERBOSITY > 1) {
761
                echo str_repeat("\t", $depth);
762
                echo "\t=> set config value ".(string) $config['name'].': '.(string) $config['value'].PHP_EOL;
763
            }
764
        }
765
766
        foreach ($ruleset->rule as $rule) {
@@ 773-776 (lines=4) @@
770
                continue;
771
            }
772
773
            if (PHP_CODESNIFFER_VERBOSITY > 1) {
774
                echo str_repeat("\t", $depth);
775
                echo "\tProcessing rule \"".$rule['ref'].'"'.PHP_EOL;
776
            }
777
778
            $includedSniffs = array_merge(
779
                $includedSniffs,
@@ 789-792 (lines=4) @@
786
                        continue;
787
                    }
788
789
                    if (PHP_CODESNIFFER_VERBOSITY > 1) {
790
                        echo str_repeat("\t", $depth);
791
                        echo "\t\tExcluding rule \"".$exclude['name'].'"'.PHP_EOL;
792
                    }
793
794
                    // Check if a single code is being excluded, which is a shortcut
795
                    // for setting the severity of the message to 0.
@@ 907-910 (lines=4) @@
904
            }
905
906
            $this->ignorePatterns[(string) $pattern] = (string) $pattern['type'];
907
            if (PHP_CODESNIFFER_VERBOSITY > 1) {
908
                echo str_repeat("\t", $depth);
909
                echo "\t=> added global ".(string) $pattern['type'].' ignore pattern: '.(string) $pattern.PHP_EOL;
910
            }
911
        }
912
913
        $includedSniffs = array_unique(array_merge($ownSniffs, $includedSniffs));
@@ 1286-1289 (lines=4) @@
1283
                    }
1284
                } else {
1285
                    $this->ruleset[$code]['properties'][$name] = (string) $prop['value'];
1286
                    if (PHP_CODESNIFFER_VERBOSITY > 1) {
1287
                        echo str_repeat("\t", $depth);
1288
                        echo "\t\t=> property \"$name\" set to \"".(string) $prop['value'].'"'.PHP_EOL;
1289
                    }
1290
                }//end if
1291
            }//end foreach
1292
        }//end if
@@ 1309-1312 (lines=4) @@
1306
            }
1307
1308
            $this->ignorePatterns[$code][(string) $pattern] = (string) $pattern['type'];
1309
            if (PHP_CODESNIFFER_VERBOSITY > 1) {
1310
                echo str_repeat("\t", $depth);
1311
                echo "\t\t=> added sniff-specific ".(string) $pattern['type'].' ignore pattern: '.(string) $pattern.PHP_EOL;
1312
            }
1313
        }
1314
1315
    }//end _processRule()