Skip to content

Commit ffff53d

Browse files
committed
Merge branch '7.3' into 7.4
* 7.3: [TwigBridge] fix command option mode (InputOption::VALUE_REQUIRED) [TypeInfo] Optimize enum check Fix grammar in `CodeExtension` class docblock [TypeInfo] Fix `Type::fromValue` incorrectly setting object type instead of enum [TypeInfo] Fix `Type::fromValue` with empty array remove return type from AbstractObjectNormalizer::getAllowedAttributes() Bump Symfony version to 7.3.2 Update VERSION for 7.3.1 Update CHANGELOG for 7.3.1 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 e1288d3 + c70a8c7 commit ffff53d

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)