-
-
Notifications
You must be signed in to change notification settings - Fork 944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ticket/14895] CLI should use SymfonyStyle #4564
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason why this is not targeting 3.2.x? I fail to see one.
* | ||
* @param InputInterface $input | ||
* @param OutputInterface $output | ||
* @return integer | ||
*/ | ||
protected function execute(InputInterface $input, OutputInterface $output) | ||
{ | ||
$output->writeln('<info>' . implode(', ', $this->reparser_names) . '</info>'); | ||
$output->writeln('<info>' . $this->user->lang('CLI_DESCRIPTION_REPARSER_AVAILABLE') . '</info>'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the new SymfonyStyle in here: http://symfony.com/blog/new-in-symfony-2-8-console-style-guide
PHPBB3-14895
This should be a 3.2.x branch. Was a mistake (it defaulted to master) |
PHPBB3-14895
PHPBB3-14895
PHPBB3-14895
@@ -17,7 +17,7 @@ | |||
/** @var \phpbb\config\config */ | |||
protected $config; | |||
|
|||
function __construct(\phpbb\user $user, \phpbb\config\config $config) | |||
public function __construct(\phpbb\user $user, \phpbb\config\config $config) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice catch
[ticket/14895] CLI should use SymfonyStyle * VSEphpbb/ticket/14895: [ticket/14895] Fix broken tests [ticket/14895] Fix issues in CLI classes [ticket/14895] Use SymfonyStyle in all CLI [ticket/14895] Use SymfonyIO styling [ticket/14895] CLI reparser:list should display proper list
Checklist:
https://tracker.phpbb.com/browse/PHPBB3-14895
PHPBB3-14895