PHP Class PhpGitHooks\Module\PhpCsFixer\Service\PhpCsFixerTool

Afficher le fichier Open project: bruli/php-git-hooks Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
executeTool ( array $files, string $level, string $options, string $errorMessage )

Method Details

__construct() public méthode

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 méthode

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