| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | 1 | protected function execute(InputInterface $input, OutputInterface $output) |
|
| 28 | { |
||
| 29 | 1 | $deploy = $this->getConveyor($input, $output, $this->getHelperSet()); |
|
| 30 | |||
| 31 | 1 | $versions = $deploy->getVersions(); |
|
| 32 | |||
| 33 | 1 | $output->writeln('<comment>Available versions:</comment>'); |
|
| 34 | |||
| 35 | 1 | foreach ($versions as $version) { |
|
| 36 | 1 | $output->writeln(sprintf(' <info>%s</info> (<comment>%s</comment>)', $version->getName(), $version->getBuild())); |
|
| 37 | } |
||
| 38 | |||
| 39 | 1 | $output->writeln(''); |
|
| 40 | 1 | } |
|
| 41 | } |
||
| 42 |