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

phpmyfaq/inc/libs/tcpdf/include/tcpdf_fonts.php 1 location

@@ 1685-1690 (lines=6) @@
1682
	 * @public static
1683
	 */
1684
	public static function _getfontpath() {
1685
		if (!defined('K_PATH_FONTS') AND is_dir($fdir = realpath(dirname(__FILE__).'/../fonts'))) {
1686
			if (substr($fdir, -1) != '/') {
1687
				$fdir .= '/';
1688
			}
1689
			define('K_PATH_FONTS', $fdir);
1690
		}
1691
		return defined('K_PATH_FONTS') ? K_PATH_FONTS : '';
1692
	}
1693

phpmyfaq/inc/libs/tcpdf/tcpdf_autoconfig.php 1 location

@@ 119-125 (lines=7) @@
116
	}
117
}
118
119
if (!defined('K_PATH_CACHE')) {
120
	$K_PATH_CACHE = ini_get('upload_tmp_dir') ? ini_get('upload_tmp_dir') : sys_get_temp_dir();
121
	if (substr($K_PATH_CACHE, -1) != '/') {
122
		$K_PATH_CACHE .= '/';
123
	}
124
	define ('K_PATH_CACHE', $K_PATH_CACHE);
125
}
126
127
if (!defined('K_BLANK_IMAGE')) {
128
	define ('K_BLANK_IMAGE', '_blank.png');