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

@@ 3271-3278 (lines=8) @@
3268
                    implode(', ', $this->groups),
3269
                    $this->user,
3270
                    implode(', ', $this->groups));
3271
            } else {
3272
                return sprintf(
3273
                    'AND ( fdg.group_id IN (%s) OR (fdu.user_id = %d OR fdg.group_id IN (%s)) )',
3274
                    implode(', ', $this->groups),
3275
                    $this->user,
3276
                    implode(', ', $this->groups)
3277
                );
3278
            }
3279
        } else {
3280
            if (-1 !== $this->user) {
3281
                return sprintf(

phpmyfaq/inc/PMF/Category.php 1 location

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