Completed
Push — feature/servers-redesign ( 2ca029...06aadf )
by Vladimir
03:58
created

KernelReadyMigration   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 10
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 7 1
1
<?php
2
3
namespace BZIon\Phinx;
4
5
use AppKernel;
6
use Phinx\Migration\AbstractMigration;
7
8
class KernelReadyMigration extends AbstractMigration
9
{
10
    protected function init()
11
    {
12
        parent::init();
13
14
        $kernel = new AppKernel('prod', false);
15
        $kernel->boot();
16
    }
17
}
18