Check   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
namespace phpbu\App\Configuration\Backup;
3
4
/**
5
 * Check Configuration
6
 *
7
 * @package    phpbu
8
 * @subpackage App
9
 * @author     Sebastian Feldmann <[email protected]>
10
 * @copyright  Sebastian Feldmann <[email protected]>
11
 * @license    https://opensource.org/licenses/MIT The MIT License (MIT)
12
 * @link       http://phpbu.de/
13
 * @since      Class available since Release 2.0.0
14
 */
15
class Check
16
{
17
    /**
18
     * Check type
19
     *
20
     * @var string
21
     */
22
    public $type;
23
24
    /**
25
     * Check value
26
     *
27
     * @var string
28
     */
29
    public $value;
30
31
    /**
32
     * Constructor
33
     *
34
     * @param string $type
35
     * @param string $value
36
     */
37 40
    public function __construct($type, $value)
38
    {
39 40
        $this->type  = $type;
40 40
        $this->value = $value;
41 40
    }
42
}
43