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

Migrator   A

Complexity

Total Complexity 27

Size/Duplication

Total Lines 229
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 87
dl 0
loc 229
ccs 92
cts 92
cp 1
rs 10
c 0
b 0
f 0
wmc 27
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\Migrations;
6
7
use Doctrine\Migrations\Metadata\MigrationPlanList;
8
9
/**
10
 * The DbalMigrator class is responsible for generating and executing the SQL for a migration.
11
 *
12
 * @internal
13
 */
14
interface Migrator
15
{
16
    /**
17
     * @return array<string, string[]> A list of SQL statements executed, grouped by migration version
18
     */
19
    public function migrate(MigrationPlanList $migrationsPlan, MigratorConfiguration $migratorConfiguration) : array;
20
}
21