Skip to content

Commit

Permalink
minor symfony#11248 [Console] uncomment the "Before" code part (Oskar…
Browse files Browse the repository at this point in the history
…Stark)

This PR was merged into the 3.4 branch.

Discussion
----------

[Console] uncomment the "Before" code part

for better syntax highlighting

The current version:
![Screenshot 2019-03-29 10 58 30](https://user-images.githubusercontent.com/995707/55224862-a48aeb00-5211-11e9-8139-e7bac0f566c8.png)

Commits
-------

a9fc18a uncomment the "Before" code part
  • Loading branch information
OskarStark committed Mar 29, 2019
2 parents 32d470b + a9fc18a commit 2d77f5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion console/style.rst
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,11 @@ of your commands to change their appearance::
protected function execute(InputInterface $input, OutputInterface $output)
{
// Before
// $io = new SymfonyStyle($input, $output);
$io = new SymfonyStyle($input, $output);

// After
$io = new CustomStyle($input, $output);

// ...
}
}
Expand Down

0 comments on commit 2d77f5d

Please sign in to comment.