Completed
Push — master ( 30874d...ed8031 )
by Pablo
02:56
created

PhpUnitStrictCoverageResponse::getMinimum()   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

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
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
namespace PhpGitHooks\Module\Configuration\Contract\Response;
4
5
class PhpUnitStrictCoverageResponse
6
{
7
    /**
8
     * @var bool
9
     */
10
    private $phpunitStrictCoverage;
11
    /**
12
     * @var float
13
     */
14
    private $minimum;
15
16
    /**
17
     * PhpUnitStrictCoverageResponse constructor.
18
     *
19
     * @param bool  $phpunitStrictCoverage
20
     * @param float $minimum
21
     */
22 10
    public function __construct($phpunitStrictCoverage, $minimum)
23
    {
24 10
        $this->phpunitStrictCoverage = $phpunitStrictCoverage;
25 10
        $this->minimum = $minimum;
26 10
    }
27
28
    /**
29
     * @return bool
30
     */
31 2
    public function isPhpunitStrictCoverage()
32
    {
33 2
        return $this->phpunitStrictCoverage;
34
    }
35
36
    /**
37
     * @return float
38
     */
39 2
    public function getMinimum()
40
    {
41 2
        return $this->minimum;
42
    }
43
}
44