PHP Class PhpGitHooks\Module\PhpCs\Service\PhpCsTool

Datei anzeigen Open project: bruli/php-git-hooks Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\Console\Output\OutputInterface $output, PhpGitHooks\Module\PhpCs\Model\PhpCsToolProcessorInterface $phpCsToolProcessor ) PhpCsTool constructor.
execute ( array $files, string $standard, string $errorMessage )

Method Details

__construct() public method

PhpCsTool constructor.
public __construct ( Symfony\Component\Console\Output\OutputInterface $output, PhpGitHooks\Module\PhpCs\Model\PhpCsToolProcessorInterface $phpCsToolProcessor )
$output Symfony\Component\Console\Output\OutputInterface
$phpCsToolProcessor PhpGitHooks\Module\PhpCs\Model\PhpCsToolProcessorInterface

execute() public method

public execute ( array $files, string $standard, string $errorMessage )
$files array
$standard string
$errorMessage string