Code Duplication    Length = 5-7 lines in 3 locations

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

@@ 3717-3723 (lines=7) @@
3714
3715
		}
3716
3717
		if (!empty($block->lines)) {
3718
			$glue = $this->break.$inner;
3719
			echo $inner . implode($glue, $block->lines);
3720
			if (!$isSingle && !empty($block->children)) {
3721
				echo $this->break;
3722
			}
3723
		}
3724
3725
		foreach ($block->children as $child) {
3726
			$this->block($child);

projects/plugins/jetpack/modules/custom-css/custom-css/preprocessors/scss.inc.php 2 locations

@@ 4065-4071 (lines=7) @@
4062
			$inner = $this->indentStr();
4063
		}
4064
4065
		if (!empty($block->lines)) {
4066
			$glue = $this->break.$inner;
4067
			echo $inner . implode($glue, $block->lines);
4068
			if (!empty($block->children)) {
4069
				echo $this->break;
4070
			}
4071
		}
4072
4073
		foreach ($block->children as $child) {
4074
			$this->block($child);
@@ 4152-4156 (lines=5) @@
4149
			$inner = $this->indentStr($block->depth - 1);
4150
		}
4151
4152
		if (!empty($block->lines)) {
4153
			$glue = $this->break.$inner;
4154
			echo $inner . implode($glue, $block->lines);
4155
			if (!empty($block->children)) echo $this->break;
4156
		}
4157
4158
		foreach ($block->children as $i => $child) {
4159
			// echo "*** block: ".$block->depth." child: ".$child->depth."\n";