for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/*
* This file is part of the box project.
*
* (c) Kevin Herrera <[email protected]>
* Théo Fidry <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace KevinGH\Box\Console;
use Symfony\Component\Console\Formatter\OutputFormatterStyle;
use Symfony\Component\Console\Output\OutputInterface;
final class OutputConfigurator
{
public static function configure(OutputInterface $output): void
$output->getFormatter()->setStyle(
'recommendation',
new OutputFormatterStyle('black', 'yellow')
);
'warning',
new OutputFormatterStyle('white', 'red')
}
private function __construct()