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

Noop   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 13
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A minify() 0 4 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
}