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 — filters ( b41112...24729b )
by
unknown
13:18
created

m151207_103155_google_merchants::up()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 22
Code Lines 14

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 22
rs 9.2
cc 1
eloc 14
nc 1
nop 0
1
<?php
2
3
use app\backend\models\BackendMenu;
4
use yii\db\Migration;
5
6
class m151207_103155_google_merchants extends Migration
7
{
8
    public function up()
9
    {
10
        $shopMenuItem = BackendMenu::findOne([
11
            'name' => 'Settings',
12
        ]);
13
14
        $this->insert(
15
            BackendMenu::tableName(),
16
           [
17
               'parent_id' => $shopMenuItem->id,
18
               'name' => 'Google Merchants',
19
               'route' => '/shop/backend-google-feed/settings',
20
               'icon' => 'google',
21
               'sort_order' => '0',
22
               'added_by_ext' => 'core',
23
               'rbac_check' => 'content manage',
24
               'css_class' => Null,
25
               'translation_category' => 'app',
26
           ]
27
        );
28
29
    }
30
31
    public function down()
32
    {
33
        $this->delete(
34
            BackendMenu::tableName(),
35
            [
36
                'route' => '/shop/backend-google-feed/settings'
37
            ]
38
        );
39
    }
40
41
    /*
42
    // Use safeUp/safeDown to run migration code within a transaction
43
    public function safeUp()
44
    {
45
    }
46
47
    public function safeDown()
48
    {
49
    }
50
    */
51
}
52