Merge branch '2.7' into 2.8
* 2.7: fixed PHP 5.3 compat in tests
This commit is contained in:
commit
fc32e6a794
@ -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
|
//Ensure that all lines are aligned to the begin of the first line in a multi-line block
|
||||||
return function (InputInterface $input, OutputInterface $output) {
|
return function (InputInterface $input, OutputInterface $output) {
|
||||||
$output = new SymfonyStyleWithForcedLineLength($input, $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);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user