PHP Class GrumPHP\Formatter\GitBlacklistFormatter

Inheritance: implements GrumPHP\Formatter\ProcessFormatterInterface
Show file Open project: phpro/grumphp

Public Methods

Method Description
__construct ( GrumPHP\IO\IOInterface $IO ) GitBlacklistFormatter constructor.
format ( Process $process ) : string

Private Methods

Method Description
formatOutput ( string $output ) : string
trimOutputLine ( string $line, integer $lineNumber ) : string

Method Details

__construct() public method

GitBlacklistFormatter constructor.
public __construct ( GrumPHP\IO\IOInterface $IO )
$IO GrumPHP\IO\IOInterface

format() public method

public format ( Process $process ) : string
$process Symfony\Component\Process\Process
return string