PHP Class PhpGitHooks\Module\PhpCsFixer\Service\PhpCsFixerTool

Mostra file Open project: bruli/php-git-hooks Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\Console\Output\OutputInterface $output, PhpGitHooks\Module\PhpCsFixer\Model\PhpCsFixerToolProcessorInterface $phpCsFixerToolProcessor ) PhpCsFixerTool constructor.
execute ( array $files, boolean $psr0, boolean $psr1, boolean $psr2, boolean $symfony, string $options, string $errorMessage )

Private Methods

Method Description
executeTool ( array $files, string $level, string $options, string $errorMessage )

Method Details

__construct() public method

PhpCsFixerTool constructor.
public __construct ( Symfony\Component\Console\Output\OutputInterface $output, PhpGitHooks\Module\PhpCsFixer\Model\PhpCsFixerToolProcessorInterface $phpCsFixerToolProcessor )
$output Symfony\Component\Console\Output\OutputInterface
$phpCsFixerToolProcessor PhpGitHooks\Module\PhpCsFixer\Model\PhpCsFixerToolProcessorInterface

execute() public method

public execute ( array $files, boolean $psr0, boolean $psr1, boolean $psr2, boolean $symfony, string $options, string $errorMessage )
$files array
$psr0 boolean
$psr1 boolean
$psr2 boolean
$symfony boolean
$options string
$errorMessage string