Total Complexity | 8 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class MaxScoreChecker |
||
16 | { |
||
17 | |||
18 | /** |
||
19 | * @var float|null |
||
20 | */ |
||
21 | private $maxScoreThreshold; |
||
22 | |||
23 | /** |
||
24 | * @param float|null $maxScoreThreshold The max score threshold. |
||
25 | */ |
||
26 | public function __construct(?float $maxScoreThreshold) |
||
27 | { |
||
28 | $this->maxScoreThreshold = $maxScoreThreshold; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @param InputInterface $input Input. |
||
33 | * @param OutputInterface $output Output. |
||
34 | * @param ResultAccumulator $report The report containing the scores. |
||
35 | */ |
||
36 | public function isOverThreshold(InputInterface $input, OutputInterface $output, ResultAccumulator $report): bool |
||
52 | } |
||
53 | } |
||
54 |