Passed
Push — master ( 229462...d74785 )
by Andreas
02:20 queued 14s
created

ConfigurationHelper::getMigrationConfig()   A

Complexity

Conditions 5
Paths 5

Size

Total Lines 37
Code Lines 15

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 11
CRAP Score 5

Importance

Changes 0
Metric Value
cc 5
eloc 15
nc 5
nop 1
dl 0
loc 37
ccs 11
cts 11
cp 1
crap 5
rs 9.4555
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\Migrations\Tools\Console\Helper;
6
7
use Doctrine\Migrations\Configuration\Configuration;
8
use Symfony\Component\Console\Input\InputInterface;
9
10
/**
11
 * The ConfigurationHelper defines the interface for getting the Configuration instance to be used for migrations.
12
 */
13
interface ConfigurationHelper
14
{
15
    public function getConfiguration(
16
        InputInterface $input
17
    ) : Configuration;
18
}
19