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

TestMigrator   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 3
eloc 4
dl 0
loc 15
rs 10
c 1
b 0
f 1

3 Methods

Rating   Name   Duplication   Size   Complexity  
A migrate() 0 3 1
A getDescription() 0 3 1
A version() 0 3 1
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
}