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

phpmyfaq/inc/libs/tcpdf/tcpdf_barcodes_1d.php 2 locations

@@ 848-861 (lines=14) @@
845
		$len = strlen($seq);
846
		$w = 0;
847
		$k = 0;
848
		for ($i = 0; $i < $len; ++$i) {
849
			$w += 1;
850
			if (($i == ($len - 1)) OR (($i < ($len - 1)) AND ($seq{$i} != $seq{($i+1)}))) {
851
				if ($seq{$i} == '1') {
852
					$t = true; // bar
853
				} else {
854
					$t = false; // space
855
				}
856
				$bararray['bcode'][$k] = array('t' => $t, 'w' => $w, 'h' => 1, 'p' => 0);
857
				$bararray['maxw'] += $w;
858
				++$k;
859
				$w = 0;
860
			}
861
		}
862
		return $bararray;
863
	}
864
@@ 1474-1487 (lines=14) @@
1471
		}
1472
		$clen = strlen($seq);
1473
		$w = 0;
1474
		for ($i = 0; $i < $clen; ++$i) {
1475
			$w += 1;
1476
			if (($i == ($clen - 1)) OR (($i < ($clen - 1)) AND ($seq{$i} != $seq{($i+1)}))) {
1477
				if ($seq{$i} == '1') {
1478
					$t = true; // bar
1479
				} else {
1480
					$t = false; // space
1481
				}
1482
				$bararray['bcode'][$k] = array('t' => $t, 'w' => $w, 'h' => 1, 'p' => 0);
1483
				$bararray['maxw'] += $w;
1484
				++$k;
1485
				$w = 0;
1486
			}
1487
		}
1488
		return $bararray;
1489
	}
1490