Completed
Push — master ( a9bda0...6d80b1 )
by Ruben
12:06
created

Configuration   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 11
c 0
b 0
f 0
wmc 1
lcom 0
cbo 2
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getConfigurationDefaults() 0 8 1
1
<?php
2
3
namespace Habu\ComposerScriptExample;
4
5
use Habu\ComposerScriptUtils\Configuration\AbstractConfiguration;
6
use Habu\ComposerScriptUtils\Configuration\Handler\Required;
7
8
class Configuration extends AbstractConfiguration
9
{
10
    public function getConfigurationDefaults()
11
    {
12
        return [
13
            'habu-script-example' => [
14
                'name' => new Required()
15
            ]
16
        ];
17
    }
18
}
19