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

phpmyfaq/inc/PMF/Faq.php 1 location

@@ 3067-3074 (lines=8) @@
3064
                    implode(', ', $this->groups),
3065
                    $this->user,
3066
                    implode(', ', $this->groups));
3067
            } else {
3068
                return sprintf(
3069
                    "AND ( fdg.group_id IN (%s) OR (fdu.user_id = %d OR fdg.group_id IN (%s)) )",
3070
                    implode(', ', $this->groups),
3071
                    $this->user,
3072
                    implode(', ', $this->groups)
3073
                );
3074
            }
3075
        } else {
3076
            if (-1 !== $this->user) {
3077
                return sprintf(

phpmyfaq/inc/PMF/Category.php 1 location

@@ 184-193 (lines=10) @@
181
    {
182
        $where = '';
183
184
        if ($withperm) {
185
            $where = sprintf("
186
            WHERE
187
                ( fg.group_id IN (%s)
188
            OR
189
                (fu.user_id = %d AND fg.group_id IN (%s)))",
190
            implode(', ', $this->groups),
191
            $this->user,
192
            implode(', ', $this->groups));
193
        }
194
195
        if (isset($this->language) && preg_match("/^[a-z\-]{2,}$/", $this->language)) {
196
            $where .= empty($where) ? '