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 ( b7eb7a...1705c6 )
by Alexander
07:45
created

m170127_063746_add_position_to_counter::down()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
use app\modules\seo\models\Counter;
4
use yii\db\Migration;
5
6
class m170127_063746_add_position_to_counter extends Migration
7
{
8
    public function up()
9
    {
10
        $this->addColumn(
11
            Counter::tableName(),
12
            "position",
13
            $this->integer(1)->defaultValue(0)
14
        );
15
    }
16
17
    public function down()
18
    {
19
        $this->dropColumn(
20
            Counter::tableName(),
21
            "position"
22
        );
23
    }
24
}
25