3 use Symfony\Component\Console\Input\InputInterface;
4 use Symfony\Component\Console\Output\OutputInterface;
5 use Symfony\Component\Console\Tests\Style\SymfonyStyleWithForcedLineLength;
7 //Ensure has single blank line between blocks
8 return function (InputInterface $input, OutputInterface $output) {
9 $output = new SymfonyStyleWithForcedLineLength($input, $output);
10 $output->warning('Warning');
11 $output->caution('Caution');
12 $output->error('Error');
13 $output->success('Success');
14 $output->note('Note');
15 $output->block('Custom block', 'CUSTOM', 'fg=white;bg=green', 'X ', true);