Skip to content
This repository was archived by the owner on Jul 12, 2020. It is now read-only.

Commit d7e352f

Browse files
committed
Allow arrays in fix-class-names directory list.
1 parent 74fbdb1 commit d7e352f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/QafooLabs/Refactoring/Adapters/Symfony/Commands/FixClassNamesCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ protected function configure()
3333
$this
3434
->setName('fix-class-names')
3535
->setDescription('Find all classes whose names don\'t match their required PSR-0 name and rename them.')
36-
->addArgument('dir', InputArgument::REQUIRED, 'Directory that contains the source code to refactor')
36+
->addArgument('dir', InputArgument::IS_ARRAY | InputArgument::REQUIRED, 'Directory that contains the source code to refactor')
3737
->setHelp(<<<HELP
3838
Fix class and namespace names to correspond to the current filesystem layout,
3939
given that the project uses PSR-0. This means you can use this tool to

0 commit comments

Comments
 (0)