| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class PhpStanRelatedTest extends TestCase |
||
| 12 | { |
||
| 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 | } |
||
| 27 | |||
| 28 | public function testRelatedMethods() |
||
| 48 | } |
||
| 49 | } |
||
| 50 |