| Total Complexity | 6 |
| Total Lines | 61 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | final class AssessComplexityCommand extends Command |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var Assessor |
||
| 21 | */ |
||
| 22 | private $assessor; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Class constructor. |
||
| 26 | * |
||
| 27 | * @param Assessor $assessor The class calculating the complexity. |
||
| 28 | */ |
||
| 29 | public function __construct(Assessor $assessor) |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Returns a new instance of the command. |
||
| 38 | */ |
||
| 39 | public static function newInstance(): self |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Configure the command |
||
| 46 | */ |
||
| 47 | #[\Override] |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Execute the command |
||
| 57 | * |
||
| 58 | * @param InputInterface $input Input. |
||
| 59 | * @param OutputInterface $output Output. |
||
| 60 | */ |
||
| 61 | #[\Override] |
||
| 80 |