Total Complexity | 1 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 3 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
12 | class TestResult |
||
13 | { |
||
14 | |||
15 | /* @var bool|null The result, null if inconclusive */ |
||
16 | public $status; |
||
17 | |||
18 | /* @var string Information about how the test failed / became inconclusive */ |
||
19 | public $info; |
||
20 | |||
21 | /* @var string Status code of last request in the test */ |
||
22 | public $statusCodeOfLastRequest; |
||
23 | |||
24 | /** |
||
25 | * Constructor. |
||
26 | * |
||
27 | * @param bool|null $status |
||
28 | * @param string $info |
||
29 | * @param string $statusCodeOfLastRequest (optional) |
||
30 | * |
||
31 | * @return void |
||
32 | */ |
||
33 | 80 | public function __construct($status, $info, $statusCodeOfLastRequest = null) |
|
40 |