Skip to content

Commit 237214e

Browse files
committed
minor #145 Remove extra dots (fabpot)
This PR was merged into the 1.0-dev branch. Discussion ---------- Remove extra dots For consistency sake. Commits ------- dbbaf40 removed extra dots
2 parents c936864 + dbbaf40 commit 237214e

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

src/Maker/MakeEntity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function configureCommand(Command $command, InputConfiguration $inputConf
6262
$command
6363
->setDescription('Creates or updates a Doctrine entity class')
6464
->addArgument('name', InputArgument::OPTIONAL, sprintf('Class name of the entity to create or update (e.g. <fg=yellow>%s</>)', Str::asClassName(Str::getRandomTerm())))
65-
->addOption('regenerate', null, InputOption::VALUE_NONE, 'Instead of adding new fields, simply generate the methods (e.g. getter/setter) for existing fields.')
65+
->addOption('regenerate', null, InputOption::VALUE_NONE, 'Instead of adding new fields, simply generate the methods (e.g. getter/setter) for existing fields')
6666
->addOption('overwrite', null, InputOption::VALUE_NONE, 'Overwrite any existing getter/setter methods')
6767
->setHelp(file_get_contents(__DIR__.'/../Resources/help/MakeEntity.txt'))
6868
;

src/Maker/MakeMigration.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ public function setApplication(Application $application)
5555
public function configureCommand(Command $command, InputConfiguration $inputConf)
5656
{
5757
$command
58-
->setDescription('Creates a new migration based on database changes.')
59-
->addOption('db', null, InputOption::VALUE_REQUIRED, 'The database connection name.')
58+
->setDescription('Creates a new migration based on database changes')
59+
->addOption('db', null, InputOption::VALUE_REQUIRED, 'The database connection name')
6060
->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager name')
61-
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection name.')
61+
->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection name')
6262
->setHelp(file_get_contents(__DIR__.'/../Resources/help/MakeMigration.txt'))
6363
;
6464
}

src/Maker/MakeSerializerEncoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function configureCommand(Command $command, InputConfiguration $inputConf
3434
{
3535
$command
3636
->setDescription('Creates a new serializer encoder class')
37-
->addArgument('name', InputArgument::OPTIONAL, 'Choose a class name for your encoder (e.g. <fg=yellow>YamlEncoder</>).')
37+
->addArgument('name', InputArgument::OPTIONAL, 'Choose a class name for your encoder (e.g. <fg=yellow>YamlEncoder</>)')
3838
->addArgument('format', InputArgument::OPTIONAL, 'Pick your format name (e.g. <fg=yellow>yaml</>)')
3939
->setHelp(file_get_contents(__DIR__.'/../Resources/help/MakeSerializerEncoder.txt'))
4040
;

src/Maker/MakeSubscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function configureCommand(Command $command, InputConfiguration $inputConf
4545
{
4646
$command
4747
->setDescription('Creates a new event subscriber class')
48-
->addArgument('name', InputArgument::OPTIONAL, 'Choose a class name for your event subscriber (e.g. <fg=yellow>ExceptionSubscriber</>).')
48+
->addArgument('name', InputArgument::OPTIONAL, 'Choose a class name for your event subscriber (e.g. <fg=yellow>ExceptionSubscriber</>)')
4949
->addArgument('event', InputArgument::OPTIONAL, 'What event do you want to subscribe to?')
5050
->setHelp(file_get_contents(__DIR__.'/../Resources/help/MakeSubscriber.txt'))
5151
;

src/Maker/MakeValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function configureCommand(Command $command, InputConfiguration $inputConf
3737
{
3838
$command
3939
->setDescription('Creates a new validator and constraint class')
40-
->addArgument('name', InputArgument::OPTIONAL, 'The name of the validator class (e.g. <fg=yellow>EnabledValidator</>).')
40+
->addArgument('name', InputArgument::OPTIONAL, 'The name of the validator class (e.g. <fg=yellow>EnabledValidator</>)')
4141
->setHelp(file_get_contents(__DIR__.'/../Resources/help/MakeValidator.txt'))
4242
;
4343
}

src/Maker/MakeVoter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function configureCommand(Command $command, InputConfiguration $inputConf
3535
{
3636
$command
3737
->setDescription('Creates a new security voter class')
38-
->addArgument('name', InputArgument::OPTIONAL, 'The name of the security voter class (e.g. <fg=yellow>BlogPostVoter</>).')
38+
->addArgument('name', InputArgument::OPTIONAL, 'The name of the security voter class (e.g. <fg=yellow>BlogPostVoter</>)')
3939
->setHelp(file_get_contents(__DIR__.'/../Resources/help/MakeVoter.txt'))
4040
;
4141
}

0 commit comments

Comments
 (0)