GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( ad5ecb...bb39a1 )
by
unknown
09:27
created

m160812_065055_fix_dynamic_content   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A up() 0 8 1
A down() 0 8 1
1
<?php
2
3
use app\models\DynamicContent;
4
use yii\db\Migration;
5
6
class m160812_065055_fix_dynamic_content extends Migration
7
{
8
    public function up()
9
    {
10
        $this->alterColumn(
11
            DynamicContent::tableName(),
12
            'apply_if_last_category_id',
13
            'INT DEFAULT NULL'
14
        );
15
    }
16
17
    public function down()
18
    {
19
        $this->alterColumn(
20
            DynamicContent::tableName(),
21
            'apply_if_last_category_id',
22
            'INT UNSIGNED DEFAULT NULL'
23
        );
24
    }
25
}
26