| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | public function assertReadme($filename) |
||
| 11 | { |
||
| 12 | $tester = new ReadmeTester; |
||
| 13 | $this->addToAssertionCount(1); |
||
| 14 | $result = $this->getTestResultObject(); |
||
| 15 | |||
| 16 | foreach ($tester->test(new FileInfo($filename)) as $line) { |
||
| 17 | $result->addFailure($this, new \PHPUnit_Framework_AssertionFailedError($line), 0.0); |
||
| 18 | } |
||
| 19 | } |
||
| 20 | } |
||
| 21 |