You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor symfony#64 Fixed the help notes of the AddUser command (javiereguiluz)
This PR was squashed before being merged into the master branch (closessymfony#64).
Discussion
----------
Fixed the help notes of the AddUser command
In the [run() method of the Command class](https://github.com/symfony/symfony/blob/2.7/src/Symfony/Component/Console/Command/Command.php#L220-263) you can see the following:
```php
public function run(InputInterface $input, OutputInterface $output)
{
// ...
$this->initialize($input, $output);
// ...
if ($input->isInteractive()) {
$this->interact($input, $output);
}
// ...
$statusCode = $this->execute($input, $output);
return is_numeric($statusCode) ? (int) $statusCode : 0;
}
```
Therefore, our help note was wrong and the method order is ` initialize()` -> `interact()` -> `execute()`
Commits
-------
7afdf50 Fixed the help notes of the AddUser command
0 commit comments