Passed
Push — master ( 995ada...61458f )
by Jakub
51s
created

Plugin::activate()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 3
ccs 0
cts 0
cp 0
rs 10
cc 1
nc 1
nop 2
crap 2
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Zalas\Symfify\Composer;
6
7
use Composer\Composer;
8
use Composer\IO\IOInterface;
9
use Composer\Plugin\Capability\CommandProvider as CapabilityCommandProvider;
10
use Composer\Plugin\Capable;
11
use Composer\Plugin\PluginInterface;
12
13
class Plugin implements PluginInterface, Capable
14
{
15
    /**
16
     * {@inheritdoc}
17
     */
18
    public function activate(Composer $composer, IOInterface $io)
19
    {
20
    }
21
22
    /**
23
     * {@inheritdoc}
24
     */
25 1
    public function getCapabilities()
26
    {
27
        return [
28 1
            CapabilityCommandProvider::class => CommandProvider::class,
29
        ];
30
    }
31
}
32