Completed
Push — master ( 662b4e...e0c8b5 )
by Igor
9s
created
assets/AppAsset.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link      http://www.yiiframework.com/
4
- * @copyright Copyright (c) 2008 Yii Software LLC
5
- * @license   http://www.yiiframework.com/license/
6
- */
3
+     * @link      http://www.yiiframework.com/
4
+     * @copyright Copyright (c) 2008 Yii Software LLC
5
+     * @license   http://www.yiiframework.com/license/
6
+     */
7 7
 
8 8
 namespace app\assets;
9 9
 
Please login to merge, or discard this patch.
config/common.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,9 +36,9 @@
 block discarded – undo
36 36
         'mail' => [
37 37
             'class' => 'yii\swiftmailer\Mailer',
38 38
             'transport' => [
39
-              'class' => 'Swift_SmtpTransport',
40
-              'host' => 'host-here',
41
-          ],
39
+                'class' => 'Swift_SmtpTransport',
40
+                'host' => 'host-here',
41
+            ],
42 42
         ],
43 43
         'i18n' => [
44 44
             'translations' => [
Please login to merge, or discard this patch.
models/UserModelSearch.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * User Model Search
4
- * @author Igor Chepurnoy
5
- */
3
+     * User Model Search
4
+     * @author Igor Chepurnoy
5
+     */
6 6
 
7 7
 namespace app\models;
8 8
 
Please login to merge, or discard this patch.
migrations/m130524_201442_init.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         ], $tableOptions);
41 41
 
42 42
         //Create Cms table
43
-       $this->createTable('{{%Cms}}', [
43
+        $this->createTable('{{%Cms}}', [
44 44
             'id' => Schema::TYPE_PK,
45 45
             'url' => Schema::TYPE_STRING . '(255)',
46 46
             'title' => Schema::TYPE_STRING . '(255)',
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
             'data' => 'LONGBLOB'
114 114
         ]);
115 115
 
116
-      $this->createTable('{{%AuthRule}}', [
116
+        $this->createTable('{{%AuthRule}}', [
117 117
             'name' => Schema::TYPE_STRING . '(64) NOT NULL',
118 118
             'data' => Schema::TYPE_TEXT,
119 119
             'created_at' => Schema::TYPE_INTEGER,
Please login to merge, or discard this patch.
widgets/Alert.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.yiiframework.com/
4
- * @copyright Copyright (c) 2008 Yii Software LLC
5
- * @license http://www.yiiframework.com/license/
6
- */
3
+             * @link http://www.yiiframework.com/
4
+             * @copyright Copyright (c) 2008 Yii Software LLC
5
+             * @license http://www.yiiframework.com/license/
6
+             */
7 7
 
8 8
 namespace app\widgets;
9 9
 
Please login to merge, or discard this patch.
models/UserModel.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -55,16 +55,16 @@
 block discarded – undo
55 55
         ], parent::attributeLabels());
56 56
     }
57 57
 
58
-  /**
59
-    * update user password when new password not blank.
60
-    *
61
-	*/
58
+    /**
59
+     * update user password when new password not blank.
60
+     *
61
+     */
62 62
 
63 63
     public function beforeSave($insert)
64 64
     {
65 65
         if (parent::beforeSave($insert)) {
66 66
             if (!$this->isNewRecord && $this->password != '') {
67
-              $this->setPassword($this->password);
67
+                $this->setPassword($this->password);
68 68
             }
69 69
             return true;
70 70
         } else {
Please login to merge, or discard this patch.
assets/AdminAsset.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link      http://www.yiiframework.com/
4
- * @copyright Copyright (c) 2008 Yii Software LLC
5
- * @license   http://www.yiiframework.com/license/
6
- */
3
+                     * @link      http://www.yiiframework.com/
4
+                     * @copyright Copyright (c) 2008 Yii Software LLC
5
+                     * @license   http://www.yiiframework.com/license/
6
+                     */
7 7
 
8 8
 namespace app\assets;
9 9
 
Please login to merge, or discard this patch.