Code Duplication    Length = 4-4 lines in 2 locations

modules/custom-css/csstidy/class.csstidy_optimise.php 2 locations

@@ 141-144 (lines=4) @@
138
			return;
139
		}
140
141
		if ($this->property === 'font' && $this->parser->get_cfg('optimise_shorthands') > 1) {
142
			$this->css[$this->at][$this->selector]['font']='';
143
			$this->parser->merge_css_blocks($this->at, $this->selector, csstidy_optimise::dissolve_short_font($this->value));
144
		}
145
		if ($this->property === 'background' && $this->parser->get_cfg('optimise_shorthands') > 2) {
146
			$this->css[$this->at][$this->selector]['background']='';
147
			$this->parser->merge_css_blocks($this->at, $this->selector, csstidy_optimise::dissolve_short_bg($this->value));
@@ 145-148 (lines=4) @@
142
			$this->css[$this->at][$this->selector]['font']='';
143
			$this->parser->merge_css_blocks($this->at, $this->selector, csstidy_optimise::dissolve_short_font($this->value));
144
		}
145
		if ($this->property === 'background' && $this->parser->get_cfg('optimise_shorthands') > 2) {
146
			$this->css[$this->at][$this->selector]['background']='';
147
			$this->parser->merge_css_blocks($this->at, $this->selector, csstidy_optimise::dissolve_short_bg($this->value));
148
		}
149
		if (isset($shorthands[$this->property])) {
150
			$this->parser->merge_css_blocks($this->at, $this->selector, csstidy_optimise::dissolve_4value_shorthands($this->property, $this->value));
151
			if (is_array($shorthands[$this->property])) {