Completed
Push — master ( e06bc5...43b9f7 )
by Josh
17:33
created

Noop::getCacheDifferentiator()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
3
/**
4
* @package   s9e\TextFormatter
5
* @copyright Copyright (c) 2010-2015 The s9e Authors
6
* @license   http://www.opensource.org/licenses/mit-license.php The MIT License
7
*/
8
namespace s9e\TextFormatter\Configurator\JavaScript\Minifiers;
9
10
use s9e\TextFormatter\Configurator\JavaScript\Minifier;
11
12
/**
13
* No-op minifier
14
*/
15
class Noop extends Minifier
16
{
17
	/**
18
	* No-op method, output is the same as input
19
	*
20
	* @param  string $src JavaScript source
21
	* @return string      The very same JavaScript source
22
	*/
23 1
	public function minify($src)
24
	{
25 1
		return $src;
26
	}
27
}