Passed
Push — master ( 240c83...03f39b )
by Mathias
06:41
created

TestMigrator::migrate()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 1
b 0
f 1
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Yawik\Migration\Tests;
6
7
use Yawik\Migration\Contracts\MigratorInterface;
8
9
class TestMigrator implements MigratorInterface
10
{
11
    public function migrate(): bool
12
    {
13
        return true;
14
    }
15
16
    public function version(): string
17
    {
18
        return "version";
19
    }
20
21
    public function getDescription(): string
22
    {
23
        return "Test Migrator";
24
    }
25
}