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 ( c605b5...d226c8 )
by Alexander
09:14
created

m160407_120856_add_text_to_slides   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 2
c 1
b 0
f 1
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 7 1
1
<?php
2
3
use yii\db\Migration;
4
use app\models\Slide;
5
6
class m160407_120856_add_text_to_slides extends Migration
7
8
{
0 ignored issues
show
Coding Style introduced by
Opening brace of a class must be on the line following the class declaration; found 1 line(s)
Loading history...
9
    public function up()
10
    {
11
        $this->addColumn(
12
            Slide::tableName(),
13
            "text",
14
            $this->text()
15
        );
16
    }
17
18
    public function down()
19
    {
20
        $this->dropColumn(
21
            Slide::tableName(),
22
            "text"
23
        );
24
    }
25
}
26