Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 2492-2498 (lines=7) @@
2489
		}
2490
2491
		// opening a simple block
2492
		if ($this->tags($tags) && $this->literal('{', false)) {
2493
			$tags = $this->fixTags($tags);
2494
			$this->pushBlock($tags);
2495
			return true;
2496
		} else {
2497
			$this->seek($s);
2498
		}
2499
2500
		// closing a block
2501
		if ($this->literal('}', false)) {

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

@@ 2895-2901 (lines=7) @@
2892
		// opening css block
2893
		$oldComments = $this->insertComments;
2894
		$this->insertComments = false;
2895
		if ($this->selectors($selectors) && $this->literal("{")) {
2896
			$this->pushBlock($selectors);
2897
			$this->insertComments = $oldComments;
2898
			return true;
2899
		} else {
2900
			$this->seek($s);
2901
		}
2902
		$this->insertComments = $oldComments;
2903
2904
		// property assign, or nested assign