|
@@ 228-231 (lines=4) @@
|
| 225 |
|
$this->coverFishHelper = new CoverFishHelper(); |
| 226 |
|
|
| 227 |
|
$phpUnitConfigFile = $input->getArgument('phpunit-config'); |
| 228 |
|
if (false === empty($phpUnitConfigFile) && |
| 229 |
|
false === $this->coverFishHelper->checkFileOrPath($phpUnitConfigFile)) { |
| 230 |
|
throw new \Exception(sprintf('phpunit config file "%s" not found! please define your phpunit.xml config file to use (e.g. tests/phpunit.xml)', $phpUnitConfigFile)); |
| 231 |
|
} |
| 232 |
|
|
| 233 |
|
$testPathOrFile = $input->getOption('raw-scan-path'); |
| 234 |
|
if (false === empty($testPathOrFile) && |
|
@@ 234-237 (lines=4) @@
|
| 231 |
|
} |
| 232 |
|
|
| 233 |
|
$testPathOrFile = $input->getOption('raw-scan-path'); |
| 234 |
|
if (false === empty($testPathOrFile) && |
| 235 |
|
false === $this->coverFishHelper->checkFileOrPath($testPathOrFile)) { |
| 236 |
|
throw new \Exception(sprintf('test path/file "%s" not found! please define test file path (e.g. tests/)', $testPathOrFile)); |
| 237 |
|
} |
| 238 |
|
} |
| 239 |
|
} |