Plugin   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getCapabilities() 0 4 1
A activate() 0 2 1
1
<?php
2
3
namespace Helick\LocalServer;
4
5
use Composer\Composer;
6
use Composer\IO\IOInterface;
7
use Composer\Plugin\Capability\CommandProvider as ComposerCommandProvider;
8
use Composer\Plugin\Capable;
9
use Composer\Plugin\PluginInterface;
10
11
final class Plugin implements PluginInterface, Capable
12
{
13
    /**
14
     * @inheritDoc
15
     */
16
    public function activate(Composer $composer, IOInterface $io)
17
    {
18
        //
19
    }
20
21
    /**
22
     * @inheritDoc
23
     */
24
    public function getCapabilities()
25
    {
26
        return [
27
            ComposerCommandProvider::class => CommandProvider::class,
28
        ];
29
    }
30
}
31