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

@@ 754-759 (lines=6) @@
751
            $params = array_slice($rule, 2);
752
753
            // check scenario
754
            if (!empty($rule['on'])) {
755
                $onScenarios = explode(',', $rule['on']);
756
                if (!in_array($this->getScenario(), $onScenarios)) {
757
                    continue;
758
                }
759
            }
760
761
            if (!empty($rule['except'])) {
762
                $exceptScenarios = explode(',', $rule['except']);
@@ 761-766 (lines=6) @@
758
                }
759
            }
760
761
            if (!empty($rule['except'])) {
762
                $exceptScenarios = explode(',', $rule['except']);
763
                if (in_array($this->getScenario(), $exceptScenarios)) {
764
                    continue;
765
                }
766
            }
767
768
            if (method_exists($this, $ruleName)) {
769
                // method