Passed
Branch master (be24eb)
by Agiel Kurniawan
11:45
created
backend/views/post/_form-meta.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
 
Please login to merge, or discard this patch.
backend/views/post/_form-publish.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 dosamigos\datetimepicker\DateTimePicker;
10 10
 use yii\helpers\Html;
Please login to merge, or discard this patch.
backend/views/post/_form-term-js.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 dosamigos\selectize\SelectizeAsset;
10 10
 use yii\helpers\Url;
Please login to merge, or discard this patch.
backend/views/post/_form-term.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\helpers\ArrayHelper;
10 10
 use yii\helpers\Html;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
                     ]
43 43
                 ) ?>
44 44
 
45
-            <?php else: ?>
45
+            <?php else : ?>
46 46
                 <?= Html::dropDownList(
47 47
                     'termIds',
48 48
                     ArrayHelper::getColumn(
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 
92 92
                         </div>
93 93
                     </div>
94
-                <?php else: ?>
94
+                <?php else : ?>
95 95
                     <?= Yii::t(
96 96
                         'writesdown', 'Choose the {taxonomyName} above',
97 97
                         ['taxonomyName' => $taxonomy->singular_name]
Please login to merge, or discard this patch.
backend/views/post/_form.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 backend\widgets\MediaModal;
10 10
 use codezeen\yii2\tinymce\TinyMce;
Please login to merge, or discard this patch.
backend/views/post/_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/post/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
 use yii\widgets\ActiveForm;
10 10
 
Please login to merge, or discard this patch.
backend/views/post/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\bootstrap\ButtonDropdown;
10 10
 use yii\grid\GridView;
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         'columns' => [
74 74
             [
75 75
                 'class' => 'yii\grid\CheckboxColumn',
76
-                'checkboxOptions' => function ($model) {
76
+                'checkboxOptions' => function($model) {
77 77
                     /* @var $model \common\models\search\Post */
78 78
                     if ($model->getPermission()) {
79 79
                         return ['value' => $model->id];
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
             ],
85 85
             [
86 86
                 'attribute' => 'username',
87
-                'value' => function ($model) {
87
+                'value' => function($model) {
88 88
                     /* @var $model \common\models\search\Post */
89 89
                     return $model->postAuthor->username;
90 90
                 },
@@ -98,13 +98,13 @@  discard block
 block discarded – undo
98 98
             [
99 99
                 'class' => 'yii\grid\ActionColumn',
100 100
                 'buttons' => [
101
-                    'view' => function ($url, $model) {
101
+                    'view' => function($url, $model) {
102 102
                         return Html::a('<span class="glyphicon glyphicon-eye-open"></span>', $model->url, [
103 103
                             'title' => Yii::t('yii', 'View'),
104 104
                             'data-pjax' => '0',
105 105
                         ]);
106 106
                     },
107
-                    'update' => function ($url, $model) {
107
+                    'update' => function($url, $model) {
108 108
                         /* @var $model \common\models\search\Post */
109 109
                         if ($model->getPermission()) {
110 110
                             return Html::a('<span class="glyphicon glyphicon-pencil"></span>', $url, [
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 
116 116
                         return '';
117 117
                     },
118
-                    'delete' => function ($url, $model) {
118
+                    'delete' => function($url, $model) {
119 119
                         /* @var $model \common\models\search\Post */
120 120
                         if ($model->getPermission()) {
121 121
                             return Html::a('<span class="glyphicon glyphicon-trash"></span>', $url, [
Please login to merge, or discard this patch.
backend/views/post/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
 use yii\widgets\ActiveForm;
10 10
 
Please login to merge, or discard this patch.