Completed
Push — master ( c02786...ba52e0 )
by Alessandro
5s
created

JSONLogNotFoundException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 1
1
<?php
2
3
namespace Paraunit\Exception;
4
use Paraunit\Process\ParaunitProcessInterface;
5
6
/**
7
 * Class JSONLogNotFoundException
8
 * @package Paraunit\Exception
9
 */
10
class JSONLogNotFoundException extends \Exception
11
{
12 3
    public function __construct(ParaunitProcessInterface $process)
13
    {
14 3
        parent::__construct('JSON log not found for test; commandline: ' . $process->getCommandLine());
15 3
    }
16
}
17