Completed
Push — master ( ef5d35...9af83e )
by Thomas
12s queued 10s
created

CommandProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 11
ccs 4
cts 4
cp 1
rs 10
c 0
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
/*
6
 * This file is part of the ekino Drupal Debug project.
7
 *
8
 * (c) ekino
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Ekino\Drupal\Debug\Composer\Command;
15
16
use Composer\Plugin\Capability\CommandProvider as CommandProviderCapability;
17
18
class CommandProvider implements CommandProviderCapability
19
{
20
    /**
21
     * {@inheritdoc}
22
     */
23 1
    public function getCommands(): array
24
    {
25
        return array(
26 1
            new DisableOriginalDrupalKernelSubstitutionCommand(),
27 1
            new DumpReferenceConfigurationFileCommand(),
28 1
            new EnableOriginalDrupalKernelSubstitutionCommand(),
29
        );
30
    }
31
}
32