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

phpmyfaq/src/phpMyFAQ/Category.php 1 location

@@ 771-773 (lines=3) @@
768
                $number[$parent] = 0;
769
            }
770
771
            if ($this->config->get('records.hideEmptyCategories') && 0 === $number[$parent] && '-' === $hasChild) {
772
                continue;
773
            }
774
775
            if ($levelDiff > 1) {
776
                $output .= '</li>';

phpmyfaq/src/phpMyFAQ/Helper/CategoryHelper.php 1 location

@@ 178-180 (lines=3) @@
175
                    $number[$parent] = 0;
176
                }
177
178
                if ($this->_config->get('records.hideEmptyCategories') && 0 === $number[$parent] && '-' === $hasChild) {
179
                    continue;
180
                }
181
182
                if ($leveldiff > 1) {
183
                    $output .= '</li>';