Skip to content

Commit

Permalink
Fixtures: values for console options are required
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Dec 11, 2024
1 parent 749f607 commit b1d59ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Command/LoadDataFixturesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ protected function configure(): void
{
$this
->setDescription('Load data fixtures to your database')
->addOption('fixtures', null, InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY, 'File or directory to load data fixtures from.')
->addOption('em', null, InputOption::VALUE_NONE, 'The entity manager to use for this command.')
->addOption('purge', null, InputOption::VALUE_NONE, 'Purge data from database using TRUNCATE or DELETE. Default no purging, data will be appended.')
->addOption('fixtures', null, InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'File or directory to load data fixtures from.')
->addOption('em', null, InputOption::VALUE_REQUIRED, 'The entity manager to use for this command.')
->addOption('purge', null, InputOption::VALUE_REQUIRED, 'Purge data from database using TRUNCATE or DELETE. Default no purging, data will be appended.')
->setHelp(<<<'EOT'
The <info>%command.name%</info> command loads data fixtures from your application:
Expand Down

0 comments on commit b1d59ab

Please sign in to comment.