Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf956dcc

Browse files
committed
[TwigBridge] fix command option mode (InputOption::VALUE_REQUIRED)
1 parentbbf3694 commitf956dcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Symfony/Bridge/Twig/Command/LintCommand.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ protected function configure(): void
5555
->addOption('format',null, InputOption::VALUE_REQUIRED,\sprintf('The output format ("%s")',implode('", "',$this->getAvailableFormatOptions())))
5656
->addOption('show-deprecations',null, InputOption::VALUE_NONE,'Show deprecations as errors')
5757
->addArgument('filename', InputArgument::IS_ARRAY,'A file, a directory or "-" for reading from STDIN')
58-
->addOption('excludes',null, InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY,'Excluded directories', [])
58+
->addOption('excludes',null, InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY,'Excluded directories', [])
5959
->setHelp(<<<'EOF'
6060
The <info>%command.name%</info> command lints a template and outputs to STDOUT
6161
the first encountered syntax error.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp