InvalidStrictCoverageException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
ccs 3
cts 3
cp 1
cc 1
nc 1
nop 2
crap 1
1
<?php
2
3
namespace PhpGitHooks\Module\PhpUnit\Contract\Exception;
4
5
class InvalidStrictCoverageException extends \Exception
6
{
7
    /**
8
     * InvalidStrictCoverageException constructor.
9
     *
10
     * @param string $currentValue
11
     * @param float  $minimum
12
     */
13 1
    public function __construct($currentValue, $minimum)
14
    {
15 1
        parent::__construct(sprintf('Your current coverage %s is lower than %s', $currentValue, $minimum));
16 1
    }
17
}
18