Skip to content

Commit c70a8c7

Browse files
committed
Merge branch '7.2' into 7.3
* 7.2: [TwigBridge] fix command option mode (InputOption::VALUE_REQUIRED) Fix grammar in `CodeExtension` class docblock remove return type from AbstractObjectNormalizer::getAllowedAttributes() Bump Symfony version to 7.2.9 Update VERSION for 7.2.8 Update CHANGELOG for 7.2.8 Bump Symfony version to 6.4.24 Update VERSION for 6.4.23 Update CONTRIBUTORS for 6.4.23 Update CHANGELOG for 6.4.23 [Console][Messenger] Fix: Allow UnrecoverableExceptionInterface to bypass retry in RunCommandMessageHandler
2 parents 082eb15 + 83233ba commit c70a8c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)