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

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

phpmyfaq/inc/PMF/Faq.php 1 location

@@ 3281-3288 (lines=8) @@
3278
                    implode(', ', $this->groups),
3279
                    $this->user,
3280
                    implode(', ', $this->groups));
3281
            } else {
3282
                return sprintf(
3283
                    'AND ( fdg.group_id IN (%s) OR (fdu.user_id = %d OR fdg.group_id IN (%s)) )',
3284
                    implode(', ', $this->groups),
3285
                    $this->user,
3286
                    implode(', ', $this->groups)
3287
                );
3288
            }
3289
        } else {
3290
            if (-1 !== $this->user) {
3291
                return sprintf(