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 ( 4118ab...b57792 )
by Alexander
13:21
created

m151215_101221_aceWidget::up()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 24
Code Lines 15

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 24
rs 8.9714
cc 1
eloc 15
nc 1
nop 0
1
<?php
2
3
use yii\db\Migration;
4
use yii\helpers\Json;
5
6
class m151215_101221_aceWidget 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
11
        $this->insert(
12
            '{{%wysiwyg%}}',
13
            [
14
                'name' => 'Ace',
15
                'class_name' => 'devgroup\ace\Ace',
16
                'params' => Json::encode([
17
                    'mode' => 'html',
18
                    'theme' => 'chrome',
19
                    'jsOptions' => [
20
                        'wrap' => true,
21
                    ],
22
                    'htmlOptions' => [
23
                        'width' => '100%',
24
                        'height' => '200px'
25
                    ]
26
                ]),
27
                'configuration_model' => null,
28
                'configuration_view' => null
29
            ]
30
        );
31
    }
32
33
    public function down()
34
    {
35
       $this->delete(
36
           '{{%wysiwyg%}}',
37
           [
38
               'name' => 'Ace',
39
           ]
40
       );
41
    }
42
43
    /*
44
    // Use safeUp/safeDown to run migration code within a transaction
45
    public function safeUp()
46
    {
47
    }
48
49
    public function safeDown()
50
    {
51
    }
52
    */
53
}
54