| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | public function __construct( |
||
| 17 | string $expected_code, |
||
| 18 | string $unexpected_code, |
||
| 19 | string $last_command, |
||
| 20 | string $last_result |
||
| 21 | ) |
||
| 22 | { |
||
| 23 | parent::__construct( |
||
| 24 | "Unexpected status code: {$unexpected_code} (expected: {$expected_code})\n" |
||
| 25 | . "S: {$last_command}\n" |
||
| 26 | . "R: {$last_result}" |
||
| 27 | ); |
||
| 30 |