Merge branch '3.0' into 3.1
* 3.0: fixed PHP 5.3 compat in tests
This commit is contained in:
commit
af79ff69bc
@ -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