| Total Complexity | 9 | 
| Total Lines | 47 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 15 | final class MaxScoreChecker | ||
| 16 | { | ||
| 17 | /** | ||
| 18 | * @var float|null | ||
| 19 | */ | ||
| 20 | private $maxScoreThreshold; | ||
| 21 | |||
| 22 | /** | ||
| 23 | * @param float|null $maxScoreThreshold The max score threshold. | ||
| 24 | */ | ||
| 25 | public function __construct(?float $maxScoreThreshold) | ||
| 28 | } | ||
| 29 | |||
| 30 | /** | ||
| 31 | * @param InputInterface $input Input. | ||
| 32 | * @param OutputInterface $output Output. | ||
| 33 | * @param ResultReporter $report The report containing the scores. | ||
| 34 | */ | ||
| 35 | public function isOverThreshold(InputInterface $input, OutputInterface $output, ResultReporter $report): bool | ||
| 46 | } | ||
| 47 | |||
| 48 | /** | ||
| 49 | * @param InputInterface $input Input. | ||
| 50 | * @param OutputInterface $output Output. | ||
| 51 | */ | ||
| 52 | private function printErrorMessage(InputInterface $input, OutputInterface $output): void | ||
| 64 |