| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | 8 | public function __construct( |
|
| 22 | int $index, |
||
| 23 | NodeValueInterface $document, |
||
| 24 | string $path, |
||
| 25 | NodeValueInterface $expectedValue, |
||
| 26 | Throwable $previous = null |
||
| 27 | ) { |
||
| 28 | 8 | $this->index = $index; |
|
| 29 | 8 | $this->document = $document; |
|
| 30 | 8 | $this->path = $path; |
|
| 31 | 8 | $this->expectedValue = $expectedValue; |
|
| 32 | 8 | parent::__construct( |
|
| 33 | 8 | "Operation #{$this->index}: test operation failed at '{$path}'", |
|
| 34 | 8 | 0, |
|
| 35 | $previous |
||
| 36 | ); |
||
| 59 |