| Total Complexity | 5 |
| Total Lines | 62 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class TableOutputFormatterTest extends AbstractOutputFormatterTest |
||
| 11 | { |
||
| 12 | public function testName(): void |
||
| 13 | { |
||
| 14 | $this->assertName('table'); |
||
| 15 | } |
||
| 16 | |||
| 17 | public function testNoIssues(): void |
||
| 24 | } |
||
| 25 | |||
| 26 | public function testWithIssues(): void |
||
| 50 | } |
||
| 51 | |||
| 52 | public function testWithIssuesAndWarningsIgnored(): void |
||
| 53 | { |
||
| 54 | $expectedOuput = <<<EOF |
||
| 55 | |||
| 56 | FILE: /FILE_1 |
||
| 57 | +------+-------------+ |
||
| 58 | | Line | Description | |
||
| 59 | +------+-------------+ |
||
| 60 | | 10 | MESSAGE_1 | |
||
| 61 | | 12 | MESSAGE_2 | |
||
| 62 | +------+-------------+ |
||
| 63 | |||
| 64 | EOF; |
||
| 65 | |||
| 66 | $this->assertIssuesOutputWithWarningsIgnored($expectedOuput); |
||
| 67 | } |
||
| 68 | |||
| 69 | protected function getOutputFormatter(): OutputFormatter |
||
| 72 | } |
||
| 73 | } |
||
| 74 |