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

src/Structure.php 2 locations

@@ 771-776 (lines=6) @@
768
            $params = array_slice($rule, 2);
769
770
            // check scenario
771
            if (!empty($rule['on'])) {
772
                $onScenarios = explode(',', $rule['on']);
773
                if (!in_array($this->getScenario(), $onScenarios)) {
774
                    continue;
775
                }
776
            }
777
778
            if (!empty($rule['except'])) {
779
                $exceptScenarios = explode(',', $rule['except']);
@@ 778-783 (lines=6) @@
775
                }
776
            }
777
778
            if (!empty($rule['except'])) {
779
                $exceptScenarios = explode(',', $rule['except']);
780
                if (in_array($this->getScenario(), $exceptScenarios)) {
781
                    continue;
782
                }
783
            }
784
785
            if (method_exists($this, $ruleName)) {
786
                // method