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 = 40-40 lines in 5 locations

phpmyfaq/inc/PMF/DB/Mssql.php 1 location

@@ 297-336 (lines=40) @@
294
     *
295
     * @return array
296
     */
297
    public function getTableNames($prefix = '')
298
    {
299
        return $this->tableNames = [
300
            $prefix.'faqadminlog',
301
            $prefix.'faqattachment',
302
            $prefix.'faqattachment_file',
303
            $prefix.'faqcaptcha',
304
            $prefix.'faqcategories',
305
            $prefix.'faqcategory_group',
306
            $prefix.'faqcategory_user',
307
            $prefix.'faqcategoryrelations',
308
            $prefix.'faqchanges',
309
            $prefix.'faqcomments',
310
            $prefix.'faqconfig',
311
            $prefix.'faqdata',
312
            $prefix.'faqdata_group',
313
            $prefix.'faqdata_revisions',
314
            $prefix.'faqdata_tags',
315
            $prefix.'faqdata_user',
316
            $prefix.'faqglossary',
317
            $prefix.'faqgroup',
318
            $prefix.'faqgroup_right',
319
            $prefix.'faqinstances',
320
            $prefix.'faqinstances_config',
321
            $prefix.'faqnews',
322
            $prefix.'faqquestions',
323
            $prefix.'faqright',
324
            $prefix.'faqsearches',
325
            $prefix.'faqsessions',
326
            $prefix.'faqstopwords',
327
            $prefix.'faqtags',
328
            $prefix.'faquser',
329
            $prefix.'faquser_group',
330
            $prefix.'faquser_right',
331
            $prefix.'faquserdata',
332
            $prefix.'faquserlogin',
333
            $prefix.'faqvisits',
334
            $prefix.'faqvoting',
335
        ];
336
    }
337
338
    /**
339
     * Closes the connection to the database.

phpmyfaq/inc/PMF/DB/Mysqli.php 1 location

@@ 305-344 (lines=40) @@
302
     *
303
     * @return array
304
     */
305
    public function getTableNames($prefix = '')
306
    {
307
        return $this->tableNames = [
308
            $prefix.'faqadminlog',
309
            $prefix.'faqattachment',
310
            $prefix.'faqattachment_file',
311
            $prefix.'faqcaptcha',
312
            $prefix.'faqcategories',
313
            $prefix.'faqcategory_group',
314
            $prefix.'faqcategory_user',
315
            $prefix.'faqcategoryrelations',
316
            $prefix.'faqchanges',
317
            $prefix.'faqcomments',
318
            $prefix.'faqconfig',
319
            $prefix.'faqdata',
320
            $prefix.'faqdata_group',
321
            $prefix.'faqdata_revisions',
322
            $prefix.'faqdata_tags',
323
            $prefix.'faqdata_user',
324
            $prefix.'faqglossary',
325
            $prefix.'faqgroup',
326
            $prefix.'faqgroup_right',
327
            $prefix.'faqinstances',
328
            $prefix.'faqinstances_config',
329
            $prefix.'faqnews',
330
            $prefix.'faqquestions',
331
            $prefix.'faqright',
332
            $prefix.'faqsearches',
333
            $prefix.'faqsessions',
334
            $prefix.'faqstopwords',
335
            $prefix.'faqtags',
336
            $prefix.'faquser',
337
            $prefix.'faquser_group',
338
            $prefix.'faquser_right',
339
            $prefix.'faquserdata',
340
            $prefix.'faquserlogin',
341
            $prefix.'faqvisits',
342
            $prefix.'faqvoting',
343
        ];
344
    }
345
346
    /**
347
     * Closes the connection to the database.

phpmyfaq/inc/PMF/DB/Pgsql.php 1 location

@@ 301-340 (lines=40) @@
298
     *
299
     * @return array
300
     */
301
    public function getTableNames($prefix = '')
302
    {
303
        return $this->tableNames = [
304
            $prefix.'faqadminlog',
305
            $prefix.'faqattachment',
306
            $prefix.'faqattachment_file',
307
            $prefix.'faqcaptcha',
308
            $prefix.'faqcategories',
309
            $prefix.'faqcategory_group',
310
            $prefix.'faqcategory_user',
311
            $prefix.'faqcategoryrelations',
312
            $prefix.'faqchanges',
313
            $prefix.'faqcomments',
314
            $prefix.'faqconfig',
315
            $prefix.'faqdata',
316
            $prefix.'faqdata_group',
317
            $prefix.'faqdata_revisions',
318
            $prefix.'faqdata_tags',
319
            $prefix.'faqdata_user',
320
            $prefix.'faqglossary',
321
            $prefix.'faqgroup',
322
            $prefix.'faqgroup_right',
323
            $prefix.'faqinstances',
324
            $prefix.'faqinstances_config',
325
            $prefix.'faqnews',
326
            $prefix.'faqquestions',
327
            $prefix.'faqright',
328
            $prefix.'faqsearches',
329
            $prefix.'faqsessions',
330
            $prefix.'faqstopwords',
331
            $prefix.'faqtags',
332
            $prefix.'faquser',
333
            $prefix.'faquser_group',
334
            $prefix.'faquser_right',
335
            $prefix.'faquserdata',
336
            $prefix.'faquserlogin',
337
            $prefix.'faqvisits',
338
            $prefix.'faqvoting',
339
        ];
340
    }
341
342
    /**
343
     * Closes the connection to the database.

phpmyfaq/inc/PMF/DB/Sqlite3.php 1 location

@@ 251-290 (lines=40) @@
248
     *
249
     * @return array
250
     */
251
    public function getTableNames($prefix = '')
252
    {
253
        return $this->tableNames = [
254
            $prefix.'faqadminlog',
255
            $prefix.'faqattachment',
256
            $prefix.'faqattachment_file',
257
            $prefix.'faqcaptcha',
258
            $prefix.'faqcategories',
259
            $prefix.'faqcategory_group',
260
            $prefix.'faqcategory_user',
261
            $prefix.'faqcategoryrelations',
262
            $prefix.'faqchanges',
263
            $prefix.'faqcomments',
264
            $prefix.'faqconfig',
265
            $prefix.'faqdata',
266
            $prefix.'faqdata_group',
267
            $prefix.'faqdata_revisions',
268
            $prefix.'faqdata_tags',
269
            $prefix.'faqdata_user',
270
            $prefix.'faqglossary',
271
            $prefix.'faqgroup',
272
            $prefix.'faqgroup_right',
273
            $prefix.'faqinstances',
274
            $prefix.'faqinstances_config',
275
            $prefix.'faqnews',
276
            $prefix.'faqquestions',
277
            $prefix.'faqright',
278
            $prefix.'faqsearches',
279
            $prefix.'faqsessions',
280
            $prefix.'faqstopwords',
281
            $prefix.'faqtags',
282
            $prefix.'faquser',
283
            $prefix.'faquser_group',
284
            $prefix.'faquser_right',
285
            $prefix.'faquserdata',
286
            $prefix.'faquserlogin',
287
            $prefix.'faqvisits',
288
            $prefix.'faqvoting',
289
        ];
290
    }
291
292
    /**
293
     * Returns the next ID of a table.

phpmyfaq/inc/PMF/DB/Sqlsrv.php 1 location

@@ 325-364 (lines=40) @@
322
     *
323
     * @return array
324
     */
325
    public function getTableNames($prefix = '')
326
    {
327
        return $this->tableNames = [
328
            $prefix.'faqadminlog',
329
            $prefix.'faqattachment',
330
            $prefix.'faqattachment_file',
331
            $prefix.'faqcaptcha',
332
            $prefix.'faqcategories',
333
            $prefix.'faqcategory_group',
334
            $prefix.'faqcategory_user',
335
            $prefix.'faqcategoryrelations',
336
            $prefix.'faqchanges',
337
            $prefix.'faqcomments',
338
            $prefix.'faqconfig',
339
            $prefix.'faqdata',
340
            $prefix.'faqdata_group',
341
            $prefix.'faqdata_revisions',
342
            $prefix.'faqdata_tags',
343
            $prefix.'faqdata_user',
344
            $prefix.'faqglossary',
345
            $prefix.'faqgroup',
346
            $prefix.'faqgroup_right',
347
            $prefix.'faqinstances',
348
            $prefix.'faqinstances_config',
349
            $prefix.'faqnews',
350
            $prefix.'faqquestions',
351
            $prefix.'faqright',
352
            $prefix.'faqsearches',
353
            $prefix.'faqsessions',
354
            $prefix.'faqstopwords',
355
            $prefix.'faqtags',
356
            $prefix.'faquser',
357
            $prefix.'faquser_group',
358
            $prefix.'faquser_right',
359
            $prefix.'faquserdata',
360
            $prefix.'faquserlogin',
361
            $prefix.'faqvisits',
362
            $prefix.'faqvoting',
363
        ];
364
    }
365
366
    /**
367
     * Closes the connection to the database.