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.
Test Setup Failed
Push — enhance/generation ( 245bdd )
by Alexander
13:56
created

m151218_203419_property_title_prepend::up()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 8
rs 9.4286
cc 1
eloc 5
nc 1
nop 0
1
<?php
2
3
use app\models\PropertyStaticValues;
4
use yii\db\Migration;
5
6
class m151218_203419_property_title_prepend extends Migration
1 ignored issue
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
7
{
8
    public function up()
9
    {
10
        $this->addColumn(
11
            PropertyStaticValues::tableName(),
12
            "title_prepend",
13
            $this->smallInteger(1)->notNull()->defaultValue(0)
14
        );
15
    }
16
17
    public function down()
18
    {
19
        $this->dropColumn(
20
            PropertyStaticValues::tableName(),
21
            "title_prepend"
22
        );
23
    }
24
}
25