| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | 1 | public static function createApplication(): Application |
|
| 21 | { |
||
| 22 | 1 | $application = new Application('Paraunit', self::getVersion()); |
|
| 23 | |||
| 24 | 1 | $parallelCommand = new ParallelCommand(new ParallelConfiguration()); |
|
| 25 | 1 | $application->add($parallelCommand); |
|
| 26 | |||
| 27 | 1 | $coverageCommand = new CoverageCommand(new CoverageConfiguration()); |
|
| 28 | 1 | $application->add($coverageCommand); |
|
| 29 | |||
| 30 | 1 | return $application; |
|
| 31 | } |
||
| 32 | |||
| 38 |