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

Inheritance: implements PhpGitHooks\Module\PhpCsFixer\Model\PhpCsFixerToolProcessorInterface
Afficher le fichier Open project: bruli/php-git-hooks

Méthodes publiques

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

Private Methods

Méthode Description
processTool ( string $file, string $level, string $options ) : Process
setError ( Process $process ) : string

Method Details

__construct() public méthode

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

process() public méthode

public process ( string $file, string $level, string $options ) : string
$file string
$level string
$options string
Résultat string