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

phpmyfaq/inc/libs/tcpdf/include/barcodes/qrcode.php 2 locations

@@ 943-957 (lines=15) @@
940
	 protected function writeFormatInformation($width, &$frame, $mask, $level) {
941
		$blacks = 0;
942
		$format =  $this->getFormatInfo($mask, $level);
943
		for ($i=0; $i<8; ++$i) {
944
			if ($format & 1) {
945
				$blacks += 2;
946
				$v = 0x85;
947
			} else {
948
				$v = 0x84;
949
			}
950
			$frame[8][$width - 1 - $i] = chr($v);
951
			if ($i < 6) {
952
				$frame[$i][8] = chr($v);
953
			} else {
954
				$frame[$i + 1][8] = chr($v);
955
			}
956
			$format = $format >> 1;
957
		}
958
		for ($i=0; $i<7; ++$i) {
959
		if ($format & 1) {
960
			$blacks += 2;
@@ 958-972 (lines=15) @@
955
			}
956
			$format = $format >> 1;
957
		}
958
		for ($i=0; $i<7; ++$i) {
959
		if ($format & 1) {
960
			$blacks += 2;
961
			$v = 0x85;
962
		} else {
963
			$v = 0x84;
964
		}
965
		$frame[$width - 7 + $i][8] = chr($v);
966
		if ($i == 0) {
967
			$frame[8][7] = chr($v);
968
		} else {
969
			$frame[8][6 - $i] = chr($v);
970
		}
971
		$format = $format >> 1;
972
		}
973
		return $blacks;
974
	}
975