Skip to content
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

Merged
merged 5 commits into from
Dec 11, 2016
Merged

Conversation

iMattPro
Copy link
Member

@iMattPro iMattPro commented Dec 7, 2016

Checklist:

  • Correct branch: master for new features; 3.2.x, 3.1.x for fixes
  • Tests pass
  • Code follows coding guidelines: master / 3.2.x, 3.1.x
  • Commit follows commit message format

https://tracker.phpbb.com/browse/PHPBB3-14895

PHPBB3-14895

@CHItA CHItA added this to the 3.3.0-a1 milestone Dec 7, 2016
Copy link
Member

@marc1706 marc1706 left a 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>');
Copy link
Member

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

@iMattPro iMattPro changed the base branch from master to 3.2.x December 8, 2016 08:56
@iMattPro
Copy link
Member Author

iMattPro commented Dec 8, 2016

This should be a 3.2.x branch. Was a mistake (it defaulted to master)

@marc1706 marc1706 modified the milestones: 3.2.0-RC3, 3.3.0-a1 Dec 8, 2016
@iMattPro iMattPro changed the title [ticket/14895] CLI reparser:list should display proper list [ticket/14895] CLI should use SymfonyStyle Dec 8, 2016
@@ -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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch

Nicofuma added a commit to Nicofuma/phpbb that referenced this pull request Dec 11, 2016
[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
@Nicofuma Nicofuma merged commit 6a5b99b into phpbb:3.2.x Dec 11, 2016
@iMattPro iMattPro deleted the ticket/14895 branch December 11, 2016 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants