mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 11:44:14 +01:00
typos and details
This commit is contained in:
parent
020afa720c
commit
0deb0f9311
@ -32,7 +32,7 @@ final class Application extends SymfonyApplication
|
|||||||
{
|
{
|
||||||
$options = $inputDefinition->getOptions();
|
$options = $inputDefinition->getOptions();
|
||||||
|
|
||||||
unset($options['quiet'], $options['version'], $options['no-interraction']);
|
unset($options['quiet'], $options['version'], $options['no-interaction']);
|
||||||
|
|
||||||
$inputDefinition->setOptions($options);
|
$inputDefinition->setOptions($options);
|
||||||
}
|
}
|
||||||
@ -40,7 +40,7 @@ final class Application extends SymfonyApplication
|
|||||||
private function addCustomOptions(InputDefinition $inputDefinition): void
|
private function addCustomOptions(InputDefinition $inputDefinition): void
|
||||||
{
|
{
|
||||||
$inputDefinition->addOption(new InputOption(
|
$inputDefinition->addOption(new InputOption(
|
||||||
'--config',
|
'config',
|
||||||
null,
|
null,
|
||||||
InputOption::VALUE_REQUIRED,
|
InputOption::VALUE_REQUIRED,
|
||||||
'Path to config file.',
|
'Path to config file.',
|
||||||
@ -48,7 +48,7 @@ final class Application extends SymfonyApplication
|
|||||||
));
|
));
|
||||||
|
|
||||||
$inputDefinition->addOption(new InputOption(
|
$inputDefinition->addOption(new InputOption(
|
||||||
'--level',
|
'level',
|
||||||
null,
|
null,
|
||||||
InputOption::VALUE_REQUIRED,
|
InputOption::VALUE_REQUIRED,
|
||||||
'Finds config by shortcut name.'
|
'Finds config by shortcut name.'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user