You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 7.2:
-
[Console] Table counts wrong column width when using colspan and `setColumnMaxWidth()`
[Console] Table counts wrong number of padding symbols in `renderCell()` method when cell contain unicode variant selector
[Cache] Fix using a `ChainAdapter` as an adapter for a pool
[Serializer] Fix collect_denormalization_errors flag in defaultContext
[TypeInfo] Fix handling `ConstFetchNode`
[VarDumper] Avoid deprecated call in PgSqlCaster
Fix command option mode (InputOption::VALUE_REQUIRED)
use an EOL-agnostic approach to parse class uses
[Uid] Improve entropy of the increment for UUIDv7
[HttpKernel] Fix `#[MapUploadedFile]` handling for optional file uploads
Copy file name to clipboardExpand all lines: Command/TranslationExtractCommand.php
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -72,15 +72,15 @@ protected function configure(): void
72
72
->setDefinition([
73
73
newInputArgument('locale', InputArgument::REQUIRED, 'The locale'),
74
74
newInputArgument('bundle', InputArgument::OPTIONAL, 'The bundle name or directory where to load the messages'),
75
-
newInputOption('prefix', null, InputOption::VALUE_OPTIONAL, 'Override the default prefix', '__'),
75
+
newInputOption('prefix', null, InputOption::VALUE_REQUIRED, 'Override the default prefix', '__'),
76
76
newInputOption('no-fill', null, InputOption::VALUE_NONE, 'Extract translation keys without filling in values'),
77
-
newInputOption('format', null, InputOption::VALUE_OPTIONAL, 'Override the default output format', 'xlf12'),
77
+
newInputOption('format', null, InputOption::VALUE_REQUIRED, 'Override the default output format', 'xlf12'),
78
78
newInputOption('dump-messages', null, InputOption::VALUE_NONE, 'Should the messages be dumped in the console'),
79
79
newInputOption('force', null, InputOption::VALUE_NONE, 'Should the extract be done'),
80
80
newInputOption('clean', null, InputOption::VALUE_NONE, 'Should clean not found messages'),
81
-
newInputOption('domain', null, InputOption::VALUE_OPTIONAL, 'Specify the domain to extract'),
82
-
newInputOption('sort', null, InputOption::VALUE_OPTIONAL, 'Return list of messages sorted alphabetically'),
83
-
newInputOption('as-tree', null, InputOption::VALUE_OPTIONAL, 'Dump the messages as a tree-like structure: The given value defines the level where to switch to inline YAML'),
81
+
newInputOption('domain', null, InputOption::VALUE_REQUIRED, 'Specify the domain to extract'),
82
+
newInputOption('sort', null, InputOption::VALUE_REQUIRED, 'Return list of messages sorted alphabetically'),
83
+
newInputOption('as-tree', null, InputOption::VALUE_REQUIRED, 'Dump the messages as a tree-like structure: The given value defines the level where to switch to inline YAML'),
84
84
])
85
85
->setHelp(<<<'EOF'
86
86
The <info>%command.name%</info> command extracts translation strings from templates
0 commit comments