| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 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 | static::assertReview(new LineEndingReview(), $input, $expectErrorLines); |
||
| 61 | } |
||
| 62 | |||
| 64 |