SfApplication   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
namespace Yoanm\ComposerConfigManager\Infrastructure;
3
4
use Symfony\Component\Console\Application;
5
use Symfony\Component\Console\Command\Command;
6
7
class SfApplication extends Application
8
{
9
    /**
10
     * @param Command[] $commandList
11
     */
12
    public function __construct(array $commandList = [])
13
    {
14
        parent::__construct();
15
        $this->addCommands($commandList);
16
    }
17
}
18