Migration   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 16
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php namespace Arcanedev\LaravelSeo\Bases;
2
3
use Arcanedev\LaravelSeo\Seo;
4
use Arcanedev\Support\Bases\Migration as BaseMigration;
5
6
/**
7
 * Class     Migration
8
 *
9
 * @package  Arcanedev\LaravelSeo\Bases
10
 * @author   ARCANEDEV <[email protected]>
11
 */
12
abstract class Migration extends BaseMigration
0 ignored issues
show
Deprecated Code introduced by
The class Arcanedev\Support\Bases\Migration has been deprecated with message: Use the `Arcanedev\Support\Database\Migration` instead.

This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.

Loading history...
13
{
14
    /* -----------------------------------------------------------------
15
     |  Constructor
16
     | -----------------------------------------------------------------
17
     */
18
19
    /**
20
     * Migration constructor.
21
     */
22 58
    public function __construct()
23
    {
24 58
        $this->setConnection(Seo::getConfig('database.connection', null));
25 58
        $this->setPrefix(Seo::getConfig('database.prefix', 'seo_'));
26 58
    }
27
}
28