| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | 2 | protected function execute(InputInterface $input, OutputInterface $output) |
|
| 28 | { |
||
| 29 | 2 | $output->writeln(\sprintf('<info>Symfify</info> version <comment>%s</comment>', self::VERSION)); |
|
| 30 | 2 | $output->writeln(''); |
|
| 31 | |||
| 32 | $steps = [ |
||
| 33 | 2 | new ChangeWorkingDirectoryStep($input->getArgument('path')), |
|
| 34 | 2 | new InstallDependenciesStep($output), |
|
| 35 | 2 | new CreateDirectoriesStep($output), |
|
| 36 | 2 | new CreateFilesStep($output), |
|
| 37 | ]; |
||
| 38 | |||
| 39 | \array_walk($steps, function (SymfifyStep $step) { |
||
| 40 | 2 | $step(); |
|
| 41 | 2 | }); |
|
| 42 | } |
||
| 43 | } |
||
| 44 |