| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 3 |
| 1 | <?php |
||
| 50 | public function testReviewInvalidLines($input, array $expectErrorLines) { |
||
| 51 | $map = [ |
||
| 52 | '\r' => "\r", |
||
| 53 | '\n' => "\n", |
||
| 54 | ]; |
||
| 55 | |||
| 56 | $input = str_replace("\n", '', $input); |
||
| 57 | $input = strtr($input, $map); |
||
| 58 | |||
| 59 | |||
| 60 | $report = $this->process(new LineEndingReview(), $input); |
||
| 61 | $this->assertInvalidLinesInReport($report, $expectErrorLines); |
||
| 62 | } |
||
| 63 | |||
| 66 |