| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 51 | public function sourcesPublishVerifyFiles($type, $bundle): void |
||
| 52 | { |
||
| 53 | foreach ($bundle->$type as $filename) { |
||
| 54 | $publishedFile = $bundle->basePath . DIRECTORY_SEPARATOR . $filename; |
||
| 55 | $sourceFile = $bundle->sourcePath . DIRECTORY_SEPARATOR . $filename; |
||
| 56 | \PHPUnit_Framework_Assert::assertFileExists($publishedFile); |
||
| 57 | \PHPUnit_Framework_Assert::assertFileEquals($publishedFile, $sourceFile); |
||
| 58 | } |
||
| 59 | |||
| 60 | \PHPUnit_Framework_Assert::assertTrue(is_dir($bundle->basePath)); |
||
| 61 | } |
||
| 63 |