| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | 2 | protected function configure() |
|
| 19 | { |
||
| 20 | 2 | $this->setName('analyze')->setDescription('Analyzes a directory'); |
|
| 21 | 2 | $this->setDefinition([ |
|
| 22 | 2 | new InputArgument('path', InputArgument::REQUIRED, 'The path.'), |
|
| 23 | 2 | new InputOption('prefix', 'P', InputOption::VALUE_REQUIRED, 'Namespace prefix.'), |
|
| 24 | 2 | new InputOption('skip-empty', 'E', InputOption::VALUE_NONE, 'Skip files without namespace.'), |
|
| 25 | ]); |
||
| 50 |