Skip to content

Commit

Permalink
:#29 Rename index command to generate phpunit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
msvrtan committed Jul 19, 2017
1 parent 024dc3a commit 3231835
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @codeCoverageIgnore
*/
class IndexCliCommand extends BaseCliCommand
class GeneratePHPUnitTestsCliCommand extends BaseCliCommand
{
protected function configure()
{
$this->setName('index')
->setDescription('Index source files');
$this->setName('generate:phpunit:missing')
->setDescription('Generate missing PHPUnit test files');
}

protected function execute(InputInterface $input, OutputInterface $output)
Expand Down
2 changes: 1 addition & 1 deletion src/NullDev/Nemesis/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
public: true

cli.command.nemesis.index:
class: NullDev\Nemesis\Command\IndexCliCommand
class: NullDev\Nemesis\Command\GeneratePHPUnitTestsCliCommand
tags:
- {name: console.command }

Expand Down

0 comments on commit 3231835

Please sign in to comment.