diff --git a/src/Phinx/Console/Command/Create.php b/src/Phinx/Console/Command/Create.php index c28253115..c21af4673 100644 --- a/src/Phinx/Console/Command/Create.php +++ b/src/Phinx/Console/Command/Create.php @@ -55,7 +55,7 @@ protected function configure(): void parent::configure(); $this->setDescription('Create a new migration') - ->addArgument('name', InputArgument::OPTIONAL, 'Class name of the migration (in CamelCase)') + ->addArgument('name', InputArgument::OPTIONAL, 'Class name of the migration (in PascalCase)') ->setHelp(sprintf( '%sCreates a new database migration%s', PHP_EOL, @@ -194,7 +194,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int } else { if (!Util::isValidPhinxClassName($className)) { throw new InvalidArgumentException(sprintf( - 'The migration class name "%s" is invalid. Please use CamelCase format.', + 'The migration class name "%s" is invalid. Please use PascalCase format.', $className, )); }