ListCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 3
c 0
b 0
f 0
dl 0
loc 9
ccs 0
cts 3
cp 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A configure() 0 4 1
1
<?php
2
3
/**
4
 * This file is part of Cecil.
5
 *
6
 * (c) Arnaud Ligny <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace Cecil\Command;
15
16
/**
17
 * ListCommand class.
18
 *
19
 * This command is a hidden version of the Symfony Console ListCommand.
20
 * It is used to provide a list of commands without displaying it in the help output.
21
 * This can be useful for internal purposes or when you want to keep the command list hidden from the user.
22
 */
23
class ListCommand extends \Symfony\Component\Console\Command\ListCommand
24
{
25
    /**
26
     * {@inheritdoc}
27
     */
28
    protected function configure(): void
29
    {
30
        parent::configure();
31
        $this->setHidden(true);
32
    }
33
}
34