Merge branch '2.7' into 2.8

* 2.7:
  fixed PHP 5.3 compat in tests
This commit is contained in:
Fabien Potencier 2016-05-26 10:21:20 +02:00
commit fc32e6a794
1 changed files with 1 additions and 1 deletions

View File

@ -7,5 +7,5 @@ use Symfony\Component\Console\Tests\Style\SymfonyStyleWithForcedLineLength;
//Ensure that all lines are aligned to the begin of the first line in a multi-line block
return function (InputInterface $input, OutputInterface $output) {
$output = new SymfonyStyleWithForcedLineLength($input, $output);
$output->block(['Custom block', 'Second custom block line'], 'CUSTOM', 'fg=white;bg=green', 'X ', true);
$output->block(array('Custom block', 'Second custom block line'), 'CUSTOM', 'fg=white;bg=green', 'X ', true);
};