Passed
Pull Request — master (#46)
by Paweł
02:52
created
models/Account.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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']],
Please login to merge, or discard this patch.
models/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
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()
Please login to merge, or discard this patch.
config/console.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
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',
Please login to merge, or discard this patch.
config/test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.