Completed
Pull Request — master (#7)
by
unknown
12:18 queued 10:05
created

CommandProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
dl 0
loc 8
ccs 0
cts 6
cp 0
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getCommands() 0 6 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace drupol\ComposerPackages;
6
7
use Composer\Plugin\Capability\CommandProvider as CommandProviderCapability;
8
use drupol\ComposerPackages\Commands\Dependencies;
9
use drupol\ComposerPackages\Commands\PackagesType;
10
use drupol\ComposerPackages\Commands\ReverseDependencies;
11
12
class CommandProvider implements CommandProviderCapability
13
{
14
    public function getCommands()
15
    {
16
        return [
17
            new Dependencies(),
18
            new PackagesType(),
19
            new ReverseDependencies(),
20
        ];
21
    }
22
}
23