Total Complexity | 4 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class CoversValidatorSymfony6 extends Application |
||
15 | { |
||
16 | const NAME = 'CoversValidator'; |
||
17 | const VERSION = '1.4.0'; |
||
18 | |||
19 | /** |
||
20 | * {@inheritdoc} |
||
21 | */ |
||
22 | public function __construct($name = self::NAME, $version = self::VERSION) |
||
23 | { |
||
24 | parent::__construct($name, $version); |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | */ |
||
30 | protected function getCommandName(InputInterface $input): ?string |
||
31 | { |
||
32 | return 'validate'; |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | protected function getDefaultCommands(): array |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function getDefinition(): InputDefinition |
||
55 | } |
||
56 | } |
||
57 |