Passed
Push — master ( c81c92...90dec6 )
by Josh
03:01
created

OnlineMinifier   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 15
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
/**
4
* @package   s9e\TextFormatter
5
* @copyright Copyright (c) 2010-2020 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
	public function __construct()
25
	{
26
		$this->httpClient = Http::getClient();
27
	}
28
}