| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function testStrictMode() |
||
| 28 | { |
||
| 29 | $GLOBALS['argv'] = [ |
||
| 30 | 'diffFilter', |
||
| 31 | '--phpcs', |
||
| 32 | __DIR__ . '/fixtures/change.txt', |
||
| 33 | __DIR__ . '/fixtures/phpcsstrict.json' |
||
| 34 | ]; |
||
| 35 | ob_start(); |
||
| 36 | require(__DIR__ . "/../src/Runners/generic.php"); |
||
| 37 | $output = ob_get_clean(); |
||
| 38 | $this->assertContains('100.00%', $output); |
||
| 39 | } |
||
| 41 |