@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | BaseActiveRecord::EVENT_BEFORE_UPDATE => ['uid'], |
66 | 66 | ], |
67 | 67 | 'preserveNonEmptyValues' => true, |
68 | - 'value' => function () { |
|
68 | + 'value' => function() { |
|
69 | 69 | do { |
70 | 70 | $uid = Yii::$app->security->generateRandomString(64); |
71 | 71 | $uidExist = static::find() |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | [['updated_at', 'created_at'], 'safe'], |
108 | 108 | [['proxy_id', 'proxy_tag_id', 'occurs'], 'integer'], |
109 | 109 | [['name', 'username', 'profile_pic_url', 'full_name', 'biography', 'external_url', 'instagram_id', 'notes', 'uid'], 'string', 'max' => 255], |
110 | - [['monitoring','disabled'], 'boolean'], |
|
110 | + [['monitoring', 'disabled'], 'boolean'], |
|
111 | 111 | [['username'], 'unique'], |
112 | 112 | [['proxy_id'], 'exist', 'skipOnError' => true, 'targetClass' => Proxy::class, 'targetAttribute' => ['proxy_id' => 'id']], |
113 | 113 | [['proxy_tag_id'], 'exist', 'skipOnError' => true, 'targetClass' => Tag::class, 'targetAttribute' => ['proxy_tag_id' => 'id']], |
@@ -36,7 +36,7 @@ |
||
36 | 36 | BaseActiveRecord::EVENT_BEFORE_UPDATE => ['access_token'], |
37 | 37 | ], |
38 | 38 | 'preserveNonEmptyValues' => true, |
39 | - 'value' => function () { |
|
39 | + 'value' => function() { |
|
40 | 40 | do { |
41 | 41 | $token = Yii::$app->security->generateRandomString(64); |
42 | 42 | $tokenExist = static::find() |
@@ -62,7 +62,7 @@ |
||
62 | 62 | 'yii\queue\db\migrations', |
63 | 63 | ], |
64 | 64 | ], |
65 | - 'fixture' => [ // Fixture generation command line. |
|
65 | + 'fixture' => [// Fixture generation command line. |
|
66 | 66 | 'class' => \yii\faker\FixtureController::class, |
67 | 67 | 'templatePath' => 'tests/fixtures/templates', |
68 | 68 | 'fixtureDataPath' => 'tests/fixtures/data', |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -$webConfig = require __DIR__.'/web.php'; |
|
3 | +$webConfig = require __DIR__ . '/web.php'; |
|
4 | 4 | |
5 | 5 | $db = require __DIR__ . '/test_db.php'; |
6 | 6 |