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/Document.php 2 locations

@@ 744-749 (lines=6) @@
741
            $params = array_slice($rule, 2);
742
743
            // check scenario
744
            if (!empty($rule['on'])) {
745
                $onScenarios = explode(',', $rule['on']);
746
                if (!in_array($this->getScenario(), $onScenarios)) {
747
                    continue;
748
                }
749
            }
750
751
            if (!empty($rule['except'])) {
752
                $exceptScenarios = explode(',', $rule['except']);
@@ 751-756 (lines=6) @@
748
                }
749
            }
750
751
            if (!empty($rule['except'])) {
752
                $exceptScenarios = explode(',', $rule['except']);
753
                if (in_array($this->getScenario(), $exceptScenarios)) {
754
                    continue;
755
                }
756
            }
757
758
            if (method_exists($this, $ruleName)) {
759
                // method