| 1 | <?php |
||
| 9 | class StrictCoverageToolExecutor |
||
| 10 | { |
||
| 11 | const EXECUTE_MESSAGE = 'Checking minimum coverage'; |
||
| 12 | /** |
||
| 13 | * @var OutputInterface |
||
| 14 | */ |
||
| 15 | private $output; |
||
| 16 | /** |
||
| 17 | * @var StrictCoverageTool |
||
| 18 | */ |
||
| 19 | private $strictCoverageTool; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * StrictCoverageToolExecutor constructor. |
||
| 23 | * @param OutputInterface $output |
||
| 24 | * @param StrictCoverageTool $strictCoverageTool |
||
| 25 | */ |
||
| 26 | 2 | public function __construct(OutputInterface $output, StrictCoverageTool $strictCoverageTool) |
|
| 31 | |||
| 32 | 2 | public function execute(MinimumStrictCoverage $minimumStrictCoverage, $errorMessage) |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @param $currentCoverage |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | 1 | private function printCurrentCoverage($currentCoverage) |
|
| 48 | } |
||
| 49 |