PHP Class PhpGitHooks\Module\PhpCsFixer\Infrastructure\Tool\PhpCsFixerToolProcessor

Inheritance: implements PhpGitHooks\Module\PhpCsFixer\Model\PhpCsFixerToolProcessorInterface
Datei anzeigen Open project: bruli/php-git-hooks

Public Methods

Method Description
__construct ( ToolPathFinder $toolPathFinder ) PhpCsFixerToolProcessor constructor.
process ( string $file, string $level, string $options ) : string

Private Methods

Method Description
processTool ( string $file, string $level, string $options ) : Process
setError ( Process $process ) : string

Method Details

__construct() public method

PhpCsFixerToolProcessor constructor.
public __construct ( ToolPathFinder $toolPathFinder )
$toolPathFinder PhpGitHooks\Infrastructure\Tool\ToolPathFinder

process() public method

public process ( string $file, string $level, string $options ) : string
$file string
$level string
$options string
return string