| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | final class Command extends BaseCommand |
||
| 15 | { |
||
| 16 | const ARGUMENT_USED_FILES = 'usedFiles'; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var Task |
||
| 20 | */ |
||
| 21 | private $task; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param Task $task |
||
| 25 | */ |
||
| 26 | public function __construct(Task $task) |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | protected function configure() |
||
| 36 | { |
||
| 37 | $this->setName('consolidate-used-files') |
||
| 38 | ->setDescription('Consolidate the list of unused PHP files to improve performance of later commands and readability for human readers.') |
||
| 39 | ->addArgument(self::ARGUMENT_USED_FILES, InputArgument::REQUIRED, 'Path to the list of used files.'); |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | */ |
||
| 45 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 50 | ); |
||
| 51 | } |
||
| 53 |