Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 3352-3360 (lines=9) @@
3349
	}
3350
3351
	// consume an end of statement delimiter
3352
	protected function end() {
3353
		if ($this->literal(';', false)) {
3354
			return true;
3355
		} elseif ($this->count == strlen($this->buffer) || $this->buffer[$this->count] == '}') {
3356
			// if there is end of file or a closing block next then we don't need a ;
3357
			return true;
3358
		}
3359
		return false;
3360
	}
3361
3362
	protected function guards(&$guards) {
3363
		$s = $this->seek();

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

@@ 3873-3881 (lines=9) @@
3870
	}
3871
3872
	// consume an end of statement delimiter
3873
	protected function end() {
3874
		if ($this->literal(';')) {
3875
			return true;
3876
		} elseif ($this->count == strlen($this->buffer) || $this->buffer[$this->count] == '}') {
3877
			// if there is end of file or a closing block next then we don't need a ;
3878
			return true;
3879
		}
3880
		return false;
3881
	}
3882
3883
	// advance counter to next occurrence of $what
3884
	// $until - don't include $what in advance