Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
42 | public function build(SymfonyStyle $io) |
||
43 | { |
||
44 | $builders = $this->builders->getBuilders(); |
||
45 | $total = count($builders); |
||
46 | |||
47 | for ($i = 1; $i <= $total; $i++) { |
||
48 | // show builder number |
||
49 | $io->section(sprintf('[%d/%d] Build for <info>%s</info> builder', $i, $total, $builders[$i]->getTitle())); |
||
50 | |||
51 | $builders[$i]->execute($this->result, $io); |
||
52 | } |
||
53 | |||
54 | return $this->result->save(); |
||
55 | } |
||
56 | } |
||
57 |