|
@@ -39,11 +39,11 @@ |
|
|
block discarded – undo |
|
39
|
39
|
protected function configure() |
|
40
|
40
|
{ |
|
41
|
41
|
$this->setName('show-unused-composer-packages') |
|
42
|
|
- ->setDescription('Show a list of potentially unused composer packages.') |
|
43
|
|
- ->addArgument(self::ARGUMENT_COMPOSER_JSON, InputArgument::REQUIRED, 'Path to the project\'s composer.json.') |
|
44
|
|
- ->addOption(self::OPTION_VENDOR_DIRECTORY, 'l', InputOption::VALUE_REQUIRED, 'Path to the project\'s vendor directory.', null) |
|
45
|
|
- ->addArgument(self::ARGUMENT_USED_FILES, InputArgument::REQUIRED, 'Path to the list of used files.') |
|
46
|
|
- ->addOption(self::OPTION_PATH_TO_BLACKLIST, 'b', InputOption::VALUE_REQUIRED, 'Path to a file containing a blacklist of regular expressions to exclude from the output. One regular expression per line, don\'t forget the delimiters. E.g.: ' . PHP_EOL . '#^/project/keepme.php#' . PHP_EOL . '#^/project/tmp/#' . PHP_EOL . '#.*Test.php#'); |
|
|
42
|
+ ->setDescription('Show a list of potentially unused composer packages.') |
|
|
43
|
+ ->addArgument(self::ARGUMENT_COMPOSER_JSON, InputArgument::REQUIRED, 'Path to the project\'s composer.json.') |
|
|
44
|
+ ->addOption(self::OPTION_VENDOR_DIRECTORY, 'l', InputOption::VALUE_REQUIRED, 'Path to the project\'s vendor directory.', null) |
|
|
45
|
+ ->addArgument(self::ARGUMENT_USED_FILES, InputArgument::REQUIRED, 'Path to the list of used files.') |
|
|
46
|
+ ->addOption(self::OPTION_PATH_TO_BLACKLIST, 'b', InputOption::VALUE_REQUIRED, 'Path to a file containing a blacklist of regular expressions to exclude from the output. One regular expression per line, don\'t forget the delimiters. E.g.: ' . PHP_EOL . '#^/project/keepme.php#' . PHP_EOL . '#^/project/tmp/#' . PHP_EOL . '#.*Test.php#'); |
|
47
|
47
|
} |
|
48
|
48
|
|
|
49
|
49
|
/** |
Please login to merge, or discard this patch.