| Conditions | 1 |
| Paths | 1 |
| Total Lines | 24 |
| Code Lines | 21 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function testWithIssues(): void |
||
| 27 | { |
||
| 28 | $expectedOuput = <<<EOF |
||
| 29 | |||
| 30 | FILE: /FILE_1 |
||
| 31 | +------+-------------+ |
||
| 32 | | Line | Description | |
||
| 33 | +------+-------------+ |
||
| 34 | | 10 | MESSAGE_1 | |
||
| 35 | | 12 | MESSAGE_2 | |
||
| 36 | +------+-------------+ |
||
| 37 | |||
| 38 | FILE: /FILE_2 |
||
| 39 | +------+--------------------+ |
||
| 40 | | Line | Description | |
||
| 41 | +------+--------------------+ |
||
| 42 | | 0 | WARNING: MESSAGE_3 | |
||
| 43 | +------+--------------------+ |
||
| 44 | |||
| 45 | These results include warnings. To exclude warnings from output use the --ignore-warnings flag. |
||
| 46 | |||
| 47 | EOF; |
||
| 48 | |||
| 49 | $this->assertIssuesOutput($expectedOuput); |
||
| 50 | } |
||
| 74 |