PHP Class PhpGitHooks\Module\PhpUnit\Service\StrictCoverageToolExecutor

显示文件 Open project: bruli/php-git-hooks Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\Console\Output\OutputInterface $output, StrictCoverageTool $strictCoverageTool ) StrictCoverageToolExecutor constructor.
execute ( PhpGitHooks\Module\Configuration\Domain\MinimumStrictCoverage $minimumStrictCoverage, $errorMessage )

Private Methods

Method Description
printCurrentCoverage ( $currentCoverage ) : string

Method Details

__construct() public method

StrictCoverageToolExecutor constructor.
public __construct ( Symfony\Component\Console\Output\OutputInterface $output, StrictCoverageTool $strictCoverageTool )
$output Symfony\Component\Console\Output\OutputInterface
$strictCoverageTool StrictCoverageTool

execute() public method

public execute ( PhpGitHooks\Module\Configuration\Domain\MinimumStrictCoverage $minimumStrictCoverage, $errorMessage )
$minimumStrictCoverage PhpGitHooks\Module\Configuration\Domain\MinimumStrictCoverage