Passed
Branch master (be24eb)
by Agiel Kurniawan
11:45
created
frontend/views/layouts/main.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,11 @@
 block discarded – undo
65 65
 
66 66
         <?php if (Yii::$app->controller->route == 'site/index'): ?>
67 67
             <h1 id="site-title" class="site-title"><?= Option::get('sitetitle'); ?></h1>
68
-        <?php else: ?>
69
-            <span id="site-title" class="h1 site-title"><?= Option::get('sitetitle'); ?></span>
68
+        <?php else {
69
+    : ?>
70
+            <span id="site-title" class="h1 site-title"><?= Option::get('sitetitle');
71
+}
72
+?></span>
70 73
         <?php endif ?>
71 74
 
72 75
         <span id="site-tagline" class="h3 site-tagline"><?= Option::get('tagline'); ?></span>
Please login to merge, or discard this patch.
frontend/views/layouts/search-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 yii\helpers\Html;
10 10
 use yii\helpers\Url;
Please login to merge, or discard this patch.
frontend/views/layouts/sidebar.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 common\models\Taxonomy;
10 10
 use yii\bootstrap\Nav;
Please login to merge, or discard this patch.
frontend/views/media-comment/_form.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 common\models\Option;
10 10
 use yii\helpers\Html;
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,8 @@  discard block
 block discarded – undo
35 35
             ]) ?>
36 36
 
37 37
         </p>
38
-    <?php else: ?>
38
+    <?php else {
39
+    : ?>
39 40
         <p>
40 41
             <?= Html::a('<strong>' . Yii::t('writesdown', 'Cancel Reply') . '</strong>', '#', [
41 42
                 'id' => 'cancel-reply',
@@ -44,7 +45,9 @@  discard block
 block discarded – undo
44 45
             ]) ?>
45 46
 
46 47
         </p>
47
-    <?php endif; ?>
48
+    <?php endif;
49
+}
50
+?>
48 51
 
49 52
     <?php $form = ActiveForm::begin() ?>
50 53
 
Please login to merge, or discard this patch.
frontend/views/media-comment/comments.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 common\models\Option;
10 10
 use frontend\widgets\comment\MediaComment;
Please login to merge, or discard this patch.
frontend/views/media/protected.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 common\models\Option;
10 10
 use yii\helpers\Html;
Please login to merge, or discard this patch.
frontend/views/media/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 common\models\Option;
10 10
 use frontend\assets\CommentAsset;
Please login to merge, or discard this patch.
frontend/views/post-comment/_form.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 common\models\Option;
10 10
 use yii\helpers\Html;
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,8 @@  discard block
 block discarded – undo
35 35
             ]) ?>
36 36
 
37 37
         </p>
38
-    <?php else: ?>
38
+    <?php else {
39
+    : ?>
39 40
         <p>
40 41
             <?= Html::a('<strong>' . Yii::t('writesdown', 'Cancel Reply') . '</strong>', '#', [
41 42
                 'id' => 'cancel-reply',
@@ -44,7 +45,9 @@  discard block
 block discarded – undo
44 45
             ]) ?>
45 46
 
46 47
         </p>
47
-    <?php endif; ?>
48
+    <?php endif;
49
+}
50
+?>
48 51
 
49 52
     <?php $form = ActiveForm::begin() ?>
50 53
 
Please login to merge, or discard this patch.
frontend/views/post-comment/comments.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 common\models\Option;
10 10
 use frontend\widgets\comment\PostComment;
Please login to merge, or discard this patch.