From a612a527a0d9c9b45539a09b49571c67d44bacda Mon Sep 17 00:00:00 2001 From: Matteo Simone Borghi Date: Tue, 22 Jul 2025 23:05:27 +0200 Subject: [PATCH] fixed typo in format warning message --- src/Phinx/Console/Command/Create.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, )); }