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 = 8-8 lines in 3 locations

phpmyfaq/inc/PMF/Category.php 1 location

@@ 642-649 (lines=8) @@
639
                continue;
640
            }
641
642
            if ($leveldiff > 1) {
643
                $output .= '</li>';
644
                for ($i = $leveldiff; $i > 1; $i--) {
645
                    $output .= sprintf("\n%s</ul>\n%s</li>\n",
646
                        str_repeat("\t", $level + $i + 1),
647
                        str_repeat("\t", $level + $i));
648
                }
649
            }
650
651
            if ($level < $open) {
652
                if (($level - $open) == -1) {

phpmyfaq/inc/PMF/Helper/Category.php 2 locations

@@ 81-88 (lines=8) @@
78
                    continue;
79
                }
80
81
                if ($leveldiff > 1) {
82
                    $output .= '</li>';
83
                    for ($i = $leveldiff; $i > 1; $i--) {
84
                        $output .= sprintf("\n%s</ul>\n%s</li>\n",
85
                            str_repeat("\t", $level + $i + 1),
86
                            str_repeat("\t", $level + $i));
87
                    }
88
                }
89
90
                if ($level < $open) {
91
                    if (($level - $open) == -1) {
@@ 181-188 (lines=8) @@
178
                    continue;
179
                }
180
181
                if ($leveldiff > 1) {
182
                    $output .= '</li>';
183
                    for ($i = $leveldiff; $i > 1; $i--) {
184
                        $output .= sprintf("\n%s</ul>\n%s</li>\n",
185
                            str_repeat("\t", $level + $i + 1),
186
                            str_repeat("\t", $level + $i));
187
                    }
188
                }
189
190
                if ($level < $open) {
191
                    if (($level - $open) == -1) {