| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function testRelatedMethodsWithoutAutoload() |
||
| 14 | { |
||
| 15 | $GLOBALS['argv'] = [ |
||
| 16 | 'diffFilter', |
||
| 17 | '--phpstan', |
||
| 18 | __DIR__ . '/fixtures/addTypeError.txt', |
||
| 19 | __DIR__ . '/fixtures/phpstanTypeError.txt' |
||
| 20 | ]; |
||
| 21 | |||
| 22 | ob_start(); |
||
| 23 | require(__DIR__ . "/../src/Runners/generic.php"); |
||
| 24 | $output = ob_get_clean(); |
||
| 25 | $this->assertContains('100.00%', $output); |
||
| 26 | } |
||
| 50 |