Skip to content

Commit

Permalink
one time ask
Browse files Browse the repository at this point in the history
  • Loading branch information
jrushlow authored May 19, 2024
1 parent 0aff059 commit aba3237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Maker/MakeEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function interact(InputInterface $input, ConsoleStyle $io, Command $comma
$entityClassName ??= $io->askQuestion($question);

while ($dangerous = $this->verifyEntityName($entityClassName)) {
if ($io->confirm(sprintf('The %s character is non-ASCII, which are potentially problematic with some database. It is recommended to use only ASCII characters in entity names. Would you keep entered name ?', $dangerous[0]), false)) {
if ($io->confirm(sprintf('"%s" contains one or more non-ASCII characters, which are potentially problematic with some database. It is recommended to use only ASCII characters for entity names. Continue anyway?', $entityClassName), false)) {
break;
}

Expand Down

0 comments on commit aba3237

Please sign in to comment.