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

FileBuilder   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 67
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 29
dl 0
loc 67
ccs 29
cts 29
cp 1
rs 10
c 0
b 0
f 0
wmc 6
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\Migrations\Generator;
6
7
use DateTimeInterface;
8
9
/**
10
 * The ConcatenationFileBuilder class is responsible for building a migration SQL file from an array of queries per version.
11
 *
12
 * @internal
13
 */
14
interface FileBuilder
15
{
16
    /** @param string[][] $queriesByVersion */
17
    public function buildMigrationFile(array $queriesByVersion, string $direction, ?DateTimeInterface $now = null) : string;
18
}
19