Passed
Branch master (be24eb)
by Agiel Kurniawan
11:45
created
backend/views/user/_profile.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.writesdown.com/
4
- * @author Agiel K. Saputra <[email protected]>
5
- * @copyright Copyright (c) 2015 WritesDown
6
- * @license http://www.writesdown.com/license/
7
- */
3
+         * @link http://www.writesdown.com/
4
+         * @author Agiel K. Saputra <[email protected]>
5
+         * @copyright Copyright (c) 2015 WritesDown
6
+         * @license http://www.writesdown.com/license/
7
+         */
8 8
 
9 9
 use yii\helpers\Html;
10 10
 use yii\widgets\ActiveForm;
Please login to merge, or discard this patch.
backend/views/user/_reset-password.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.writesdown.com/
4
- * @author Agiel K. Saputra <[email protected]>
5
- * @copyright Copyright (c) 2015 WritesDown
6
- * @license http://www.writesdown.com/license/
7
- */
3
+     * @link http://www.writesdown.com/
4
+     * @author Agiel K. Saputra <[email protected]>
5
+     * @copyright Copyright (c) 2015 WritesDown
6
+     * @license http://www.writesdown.com/license/
7
+     */
8 8
 
9 9
 use yii\helpers\Html;
10 10
 use yii\widgets\ActiveForm;
Please login to merge, or discard this patch.
backend/views/user/_search.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.writesdown.com/
4
- * @author Agiel K. Saputra <[email protected]>
5
- * @copyright Copyright (c) 2015 WritesDown
6
- * @license http://www.writesdown.com/license/
7
- */
3
+     * @link http://www.writesdown.com/
4
+     * @author Agiel K. Saputra <[email protected]>
5
+     * @copyright Copyright (c) 2015 WritesDown
6
+     * @license http://www.writesdown.com/license/
7
+     */
8 8
 
9 9
 use yii\helpers\Html;
10 10
 use yii\widgets\ActiveForm;
Please login to merge, or discard this patch.
backend/views/user/create.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.writesdown.com/
4
- * @author Agiel K. Saputra <[email protected]>
5
- * @copyright Copyright (c) 2015 WritesDown
6
- * @license http://www.writesdown.com/license/
7
- */
3
+         * @link http://www.writesdown.com/
4
+         * @author Agiel K. Saputra <[email protected]>
5
+         * @copyright Copyright (c) 2015 WritesDown
6
+         * @license http://www.writesdown.com/license/
7
+         */
8 8
 
9 9
 /* @var $this yii\web\View */
10 10
 /* @var $model common\models\User */
Please login to merge, or discard this patch.
backend/views/user/index.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.writesdown.com/
4
- * @author Agiel K. Saputra <[email protected]>
5
- * @copyright Copyright (c) 2015 WritesDown
6
- * @license http://www.writesdown.com/license/
7
- */
3
+     * @link http://www.writesdown.com/
4
+     * @author Agiel K. Saputra <[email protected]>
5
+     * @copyright Copyright (c) 2015 WritesDown
6
+     * @license http://www.writesdown.com/license/
7
+     */
8 8
 
9 9
 use yii\grid\GridView;
10 10
 use yii\helpers\ArrayHelper;
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
         'columns' => [
73 73
             [
74 74
                 'class' => 'yii\grid\CheckboxColumn',
75
-                'checkboxOptions' => function ($model) {
75
+                'checkboxOptions' => function($model) {
76 76
                     /* @var $model \common\models\User */
77 77
                     if ($model->checkPermission()) {
78 78
                         return ['value' => $model->id];
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             'email:email',
87 87
             [
88 88
                 'attribute' => 'role',
89
-                'value' => function ($model) {
89
+                'value' => function($model) {
90 90
                     return implode(
91 91
                         ', ',
92 92
                         ArrayHelper::getColumn(Yii::$app->authManager->getRolesByUser($model->id), 'name')
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
             ],
96 96
             [
97 97
                 'attribute' => 'status',
98
-                'value' => function ($model) {
98
+                'value' => function($model) {
99 99
                     return $model->statustext;
100 100
                 },
101 101
                 'filter' => $searchModel->getStatuses(),
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
             [
104 104
                 'class' => 'yii\grid\ActionColumn',
105 105
                 'buttons' => [
106
-                    'update' => function ($url, $model) {
106
+                    'update' => function($url, $model) {
107 107
                         /* @var $model \common\models\User */
108 108
                         if ($model->checkPermission()) {
109 109
                             return Html::a('<span class="glyphicon glyphicon-pencil"></span>', $url, [
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 
115 115
                         return '';
116 116
                     },
117
-                    'delete' => function ($url, $model) {
117
+                    'delete' => function($url, $model) {
118 118
                         /* @var $model \common\models\User */
119 119
                         if ($model->checkPermission()) {
120 120
                             return Html::a('<span class="glyphicon glyphicon-trash"></span>', $url, [
Please login to merge, or discard this patch.
backend/views/user/profile.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.writesdown.com/
4
- * @author Agiel K. Saputra <[email protected]>
5
- * @copyright Copyright (c) 2015 WritesDown
6
- * @license http://www.writesdown.com/license/
7
- */
3
+     * @link http://www.writesdown.com/
4
+     * @author Agiel K. Saputra <[email protected]>
5
+     * @copyright Copyright (c) 2015 WritesDown
6
+     * @license http://www.writesdown.com/license/
7
+     */
8 8
 
9 9
 /* @var $this yii\web\View */
10 10
 /* @var $model common\models\User */
Please login to merge, or discard this patch.
backend/views/user/reset-password.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.writesdown.com/
4
- * @author Agiel K. Saputra <[email protected]>
5
- * @copyright Copyright (c) 2015 WritesDown
6
- * @license http://www.writesdown.com/license/
7
- */
3
+     * @link http://www.writesdown.com/
4
+     * @author Agiel K. Saputra <[email protected]>
5
+     * @copyright Copyright (c) 2015 WritesDown
6
+     * @license http://www.writesdown.com/license/
7
+     */
8 8
 
9 9
 /* @var $this yii\web\View */
10 10
 /* @var $model common\models\User */
Please login to merge, or discard this patch.
backend/views/user/update.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.writesdown.com/
4
- * @author Agiel K. Saputra <[email protected]>
5
- * @copyright Copyright (c) 2015 WritesDown
6
- * @license http://www.writesdown.com/license/
7
- */
3
+     * @link http://www.writesdown.com/
4
+     * @author Agiel K. Saputra <[email protected]>
5
+     * @copyright Copyright (c) 2015 WritesDown
6
+     * @license http://www.writesdown.com/license/
7
+     */
8 8
 
9 9
 /* @var $this yii\web\View */
10 10
 /* @var $model common\models\User */
Please login to merge, or discard this patch.
backend/views/user/view.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.writesdown.com/
4
- * @author Agiel K. Saputra <[email protected]>
5
- * @copyright Copyright (c) 2015 WritesDown
6
- * @license http://www.writesdown.com/license/
7
- */
3
+     * @link http://www.writesdown.com/
4
+     * @author Agiel K. Saputra <[email protected]>
5
+     * @copyright Copyright (c) 2015 WritesDown
6
+     * @license http://www.writesdown.com/license/
7
+     */
8 8
 
9 9
 use yii\helpers\ArrayHelper;
10 10
 use yii\helpers\Html;
Please login to merge, or discard this patch.