|
| 1 | +<?php |
| 2 | + |
| 3 | +namespace Peridot\Reporter\CodeCoverage; |
| 4 | + |
| 5 | +use Peridot\Reporter\ReporterInterface; |
| 6 | + |
| 7 | +interface CodeCoverageReporter extends ReporterInterface |
| 8 | +{ |
| 9 | + /** |
| 10 | + * Add a directory to the blacklist (recursively). |
| 11 | + * |
| 12 | + * @param string $directory |
| 13 | + * @param string $suffix |
| 14 | + * @param string $prefix |
| 15 | + * |
| 16 | + * @return $this |
| 17 | + */ |
| 18 | + public function addDirectoryToBlacklist($directory, $suffix = '.php', $prefix = ''); |
| 19 | + |
| 20 | + /** |
| 21 | + * Add a directory to the whitelist (recursively). |
| 22 | + * |
| 23 | + * @param string $directory |
| 24 | + * @param string $suffix |
| 25 | + * @param string $prefix |
| 26 | + * |
| 27 | + * @return $this |
| 28 | + */ |
| 29 | + public function addDirectoryToWhitelist($directory, $suffix = '.php', $prefix = ''); |
| 30 | + |
| 31 | + /** |
| 32 | + * Add a file to the blacklist. |
| 33 | + * |
| 34 | + * @param string $filename |
| 35 | + * |
| 36 | + * @return $this |
| 37 | + */ |
| 38 | + public function addFileToBlacklist($filename); |
| 39 | + |
| 40 | + /** |
| 41 | + * Add a file to the whitelist. |
| 42 | + * |
| 43 | + * @param string $filename |
| 44 | + * |
| 45 | + * @return $this |
| 46 | + */ |
| 47 | + public function addFileToWhitelist($filename); |
| 48 | + |
| 49 | + /** |
| 50 | + * Add files to the blacklist. |
| 51 | + * |
| 52 | + * @param array $files |
| 53 | + * |
| 54 | + * @return $this |
| 55 | + */ |
| 56 | + public function addFilesToBlacklist(array $files); |
| 57 | + |
| 58 | + /** |
| 59 | + * Add files to the whitelist. |
| 60 | + * |
| 61 | + * @param array $files |
| 62 | + * |
| 63 | + * @return $this |
| 64 | + */ |
| 65 | + public function addFilesToWhitelist(array $files); |
| 66 | + |
| 67 | + /** |
| 68 | + * Get the report path. |
| 69 | + * |
| 70 | + * @return string |
| 71 | + */ |
| 72 | + public function getReportPath(); |
| 73 | + |
| 74 | + /** |
| 75 | + * Set the report path. |
| 76 | + * |
| 77 | + * @param string $reportPath |
| 78 | + * |
| 79 | + * @return $this |
| 80 | + */ |
| 81 | + public function setReportPath($reportPath); |
| 82 | +} |
0 commit comments