| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | 32 | public function getOptions(PHPUnitConfig $config): array |
|
| 42 | { |
||
| 43 | $options = [ |
||
| 44 | 32 | '--configuration=' . $config->getFileFullPath(), |
|
| 45 | '--printer=' . LogPrinter::class, |
||
| 46 | ]; |
||
| 47 | |||
| 48 | 32 | foreach ($config->getPhpunitOptions() as $phpunitOption) { |
|
| 49 | 6 | $options[] = $this->buildPhpunitOptionString($phpunitOption); |
|
| 50 | } |
||
| 51 | |||
| 52 | 32 | return $options; |
|
| 53 | } |
||
| 54 | |||
| 70 |