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

phpmyfaq/inc/PMF/Helper/Category.php 1 location

@@ 189-198 (lines=10) @@
186
                    }
187
                }
188
189
                if ($level < $open) {
190
                    if (($level - $open) == -1) {
191
                        $output .= '</li>';
192
                    }
193
                    $output .= sprintf("\n%s</ul>\n%s</li>\n",
194
                        str_repeat("\t", $level + 2),
195
                        str_repeat("\t", $level + 1));
196
                } elseif ($level == $open && $y != 0) {
197
                    $output .= "</li>\n";
198
                }
199
200
                if ($level > $open) {
201
                    $output .= sprintf(

phpmyfaq/inc/PMF/Category.php 1 location

@@ 674-683 (lines=10) @@
671
                }
672
            }
673
674
            if ($level < $open) {
675
                if (($level - $open) == -1) {
676
                    $output .= '</li>';
677
                }
678
                $output .= sprintf("\n%s</ul>\n%s</li>\n",
679
                    str_repeat("\t", $level + 2),
680
                    str_repeat("\t", $level + 1));
681
            } elseif ($level == $open && $y != 0) {
682
                $output .= "</li>\n";
683
            }
684
685
            if ($level > $open) {
686
                $output .= sprintf("\n%s<ul>\n%s<li>",