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/Category.php 1 location

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

phpmyfaq/inc/PMF/Faq.php 1 location

@@ 3170-3177 (lines=8) @@
3167
                    implode(', ', $this->groups),
3168
                    $this->user,
3169
                    implode(', ', $this->groups));
3170
            } else {
3171
                return sprintf(
3172
                    'AND ( fdg.group_id IN (%s) OR (fdu.user_id = %d OR fdg.group_id IN (%s)) )',
3173
                    implode(', ', $this->groups),
3174
                    $this->user,
3175
                    implode(', ', $this->groups)
3176
                );
3177
            }
3178
        } else {
3179
            if (-1 !== $this->user) {
3180
                return sprintf(