CommandsProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 7
c 1
b 0
f 1
dl 0
loc 10
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getCommands() 0 8 1
1
<?php
2
/**
3
 * Copyright © Vaimo Group. All rights reserved.
4
 * See LICENSE_VAIMO.txt for license details.
5
 */
6
namespace Vaimo\ComposerChangelogs\Composer\Plugin;
7
8
class CommandsProvider implements \Composer\Plugin\Capability\CommandProvider
9
{
10
    public function getCommands()
11
    {
12
        return array(
13
            new \Vaimo\ComposerChangelogs\Commands\BootstrapCommand(),
14
            new \Vaimo\ComposerChangelogs\Commands\GenerateCommand(),
15
            new \Vaimo\ComposerChangelogs\Commands\VersionCommand(),
16
            new \Vaimo\ComposerChangelogs\Commands\InfoCommand(),
17
            new \Vaimo\ComposerChangelogs\Commands\ValidateCommand()
18
        );
19
    }
20
}
21