Code Duplication    Length = 5-5 lines in 2 locations

projects/plugins/jetpack/modules/custom-css/custom-css/preprocessors/lessc.inc.php 1 location

@@ 3540-3544 (lines=5) @@
3537
		$line = $this->line +
3538
			substr_count(substr($this->buffer, 0, $count), "\n");
3539
3540
		if (!empty($this->sourceName)) {
3541
			$loc = "$this->sourceName on line $line";
3542
		} else {
3543
			$loc = "line: $line";
3544
		}
3545
3546
		// TODO this depends on $this->count
3547
		if ($this->peek("(.*?)(\n|$)", $m, $count)) {

projects/plugins/jetpack/modules/custom-css/custom-css/preprocessors/scss.inc.php 1 location

@@ 3903-3907 (lines=5) @@
3900
3901
		$line = $this->getLineNo($count);
3902
3903
		if (!empty($this->sourceName)) {
3904
			$loc = "$this->sourceName on line $line";
3905
		} else {
3906
			$loc = "line: $line";
3907
		}
3908
3909
		if ($this->peek("(.*?)(\n|$)", $m, $count)) {
3910
			throw new Exception("$msg: failed at `$m[1]` $loc");