@@ -72,7 +72,7 @@ |
||
72 | 72 | $question = new Question("{$message}{$questionValue}: ", $value); |
73 | 73 | $question->setValidator(function ($answer) use ($message) { |
74 | 74 | if (!$answer) { |
75 | - throw new RuntimeException("{$message} is required!"); |
|
75 | + throw new RuntimeException("{$message} is required!"); |
|
76 | 76 | } |
77 | 77 | |
78 | 78 | return $answer; |
@@ -15,8 +15,8 @@ |
||
15 | 15 | protected function configure() |
16 | 16 | { |
17 | 17 | $this->setName('new') |
18 | - ->setDescription('Creates a new project directory, configuration and runs the install.') |
|
19 | - ->addArgument('project-name', InputArgument::REQUIRED, 'The project name.'); |
|
18 | + ->setDescription('Creates a new project directory, configuration and runs the install.') |
|
19 | + ->addArgument('project-name', InputArgument::REQUIRED, 'The project name.'); |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | /** |
@@ -18,14 +18,14 @@ |
||
18 | 18 | protected function configure() |
19 | 19 | { |
20 | 20 | $this->setName('configure') |
21 | - ->setDescription('Creates a new project directory and configuration.') |
|
22 | - ->addArgument('project-name', InputArgument::OPTIONAL, 'The project name.') |
|
23 | - ->addOption( |
|
24 | - 'global', |
|
25 | - null, |
|
26 | - InputOption::VALUE_NONE, |
|
27 | - 'Creates the global configuration if it does not already exist.' |
|
28 | - ); |
|
21 | + ->setDescription('Creates a new project directory and configuration.') |
|
22 | + ->addArgument('project-name', InputArgument::OPTIONAL, 'The project name.') |
|
23 | + ->addOption( |
|
24 | + 'global', |
|
25 | + null, |
|
26 | + InputOption::VALUE_NONE, |
|
27 | + 'Creates the global configuration if it does not already exist.' |
|
28 | + ); |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
@@ -13,8 +13,8 @@ |
||
13 | 13 | { |
14 | 14 | protected function configure() |
15 | 15 | { |
16 | - $this->setName('install') |
|
17 | - ->setDescription('Installs WordPress, required plugins, theme and dependencies'); |
|
16 | + $this->setName('install') |
|
17 | + ->setDescription('Installs WordPress, required plugins, theme and dependencies'); |
|
18 | 18 | } |
19 | 19 | |
20 | 20 | protected function execute(InputInterface $input, OutputInterface $output) |