Completed
Push — master ( 15e322...e49d6c )
by Josh
18:21 queued 09:22
created

OnlineMinifier   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
/**
4
* @package   s9e\TextFormatter
5
* @copyright Copyright (c) 2010-2016 The s9e Authors
6
* @license   http://www.opensource.org/licenses/mit-license.php The MIT License
7
*/
8
namespace s9e\TextFormatter\Configurator\JavaScript;
9
10
use s9e\TextFormatter\Utils\Http;
11
12
abstract class OnlineMinifier extends Minifier
13
{
14
	/**
15
	* @var \s9e\TextFormatter\Utils\Http\Client Client used to perform HTTP request
16
	*/
17
	public $httpClient;
18
19
	/**
20
	* Constructor
21
	*
22
	* @return void
23
	*/
24 12
	public function __construct()
25
	{
26 12
		$this->httpClient = Http::getClient();
27
	}
28
}