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

@@ 813-818 (lines=6) @@
810
            $params = array_slice($rule, 2);
811
812
            // check scenario
813
            if (!empty($rule['on'])) {
814
                $onScenarios = explode(',', $rule['on']);
815
                if (!in_array($this->getScenario(), $onScenarios)) {
816
                    continue;
817
                }
818
            }
819
820
            if (!empty($rule['except'])) {
821
                $exceptScenarios = explode(',', $rule['except']);
@@ 820-825 (lines=6) @@
817
                }
818
            }
819
820
            if (!empty($rule['except'])) {
821
                $exceptScenarios = explode(',', $rule['except']);
822
                if (in_array($this->getScenario(), $exceptScenarios)) {
823
                    continue;
824
                }
825
            }
826
827
            if (method_exists($this, $ruleName)) {
828
                // method