| Conditions | 1 |
| Paths | 1 |
| Total Lines | 22 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | protected function configure() { |
||
| 17 | $this |
||
| 18 | ->setName('format') |
||
| 19 | ->setDescription('Beautify PHP Code') |
||
| 20 | ->addArgument( |
||
| 21 | 'input', |
||
| 22 | InputArgument::REQUIRED, |
||
| 23 | 'The input' |
||
| 24 | ) |
||
| 25 | // ->addArgument( |
||
| 26 | // 'output', |
||
| 27 | // InputArgument::OPTIONAL, |
||
| 28 | // 'The output' |
||
| 29 | // ) |
||
| 30 | ->addOption( |
||
| 31 | 'profile', |
||
| 32 | null, |
||
| 33 | InputOption::VALUE_OPTIONAL, |
||
| 34 | 'The profile with the formatting options' |
||
| 35 | ) |
||
| 36 | ; |
||
| 37 | } |
||
| 38 | |||
| 54 |