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

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

@@ 1644-1656 (lines=13) @@
1641
	 * @since 4.5.037 (2009-04-07)
1642
	 * @public static
1643
	 */
1644
	public static function UniArrSubString($uniarr, $start='', $end='') {
1645
		if (strlen($start) == 0) {
1646
			$start = 0;
1647
		}
1648
		if (strlen($end) == 0) {
1649
			$end = count($uniarr);
1650
		}
1651
		$string = '';
1652
		for ($i=$start; $i < $end; ++$i) {
1653
			$string .= $uniarr[$i];
1654
		}
1655
		return $string;
1656
	}
1657
1658
	/**
1659
	 * Update the CIDToGIDMap string with a new value.

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

@@ 1567-1579 (lines=13) @@
1564
	 * @since 5.9.097 (2011-06-23)
1565
	 * @public static
1566
	 */
1567
	public static function encodeNameObject($name) {
1568
		$escname = '';
1569
		$length = strlen($name);
1570
		for ($i = 0; $i < $length; ++$i) {
1571
			$chr = $name[$i];
1572
			if (preg_match('/[0-9a-zA-Z]/', $chr) == 1) {
1573
				$escname .= $chr;
1574
			} else {
1575
				$escname .= sprintf('#%02X', ord($chr));
1576
			}
1577
		}
1578
		return $escname;
1579
	}
1580
1581
	/**
1582
	 * Convert JavaScript form fields properties array to Annotation Properties array.