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