Passed
Branch master (be24eb)
by Agiel Kurniawan
11:45
created
frontend/views/site/search.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
                 <footer class="footer-meta">
72 72
                     <?php $tags = $post->getTerms()
73 73
                         ->innerJoinWith([
74
-                            'taxonomy' => function ($query) {
74
+                            'taxonomy' => function($query) {
75 75
                                 /** @var $query \yii\db\ActiveQuery */
76 76
                                 return $query->from(['taxonomy' => Taxonomy::tableName()]);
77 77
                             },
Please login to merge, or discard this patch.
frontend/views/term/view.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
                 <footer class="footer-meta">
69 69
                     <?php $tags = $post->getTerms()
70 70
                         ->innerJoinWith([
71
-                            'taxonomy' => function ($query) {
71
+                            'taxonomy' => function($query) {
72 72
                                 /** @var $query \yii\db\ActiveQuery */
73 73
                                 return $query->from(['taxonomy' => Taxonomy::tableName()]);
74 74
                             },
Please login to merge, or discard this patch.
frontend/views/user/view.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
                 <footer class="footer-meta">
69 69
                     <?php $tags = $post->getTerms()
70 70
                         ->innerJoinWith([
71
-                            'taxonomy' => function ($query) {
71
+                            'taxonomy' => function($query) {
72 72
                                 /** @var $query \yii\db\ActiveQuery */
73 73
                                 return $query->from(['taxonomy' => Taxonomy::tableName()]);
74 74
                             },
Please login to merge, or discard this patch.
modules/sitemap/backend/views/default/_media.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,7 @@
 block discarded – undo
21 21
         <label>
22 22
             <?php
23 23
             $checked = isset($option['media']['enable']) && $option['media']['enable'] ?
24
-                true :
25
-                false;
24
+                true : false;
26 25
             ?>
27 26
             <?= Html::checkbox("Option[option_value][media][enable]", $checked, ['value' => 1]) ?>
28 27
 
Please login to merge, or discard this patch.
modules/sitemap/frontend/controllers/DefaultController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
                     [
46 46
                         'actions'       => ['index', 'style', 'view'],
47 47
                         'allow'         => true,
48
-                        'matchCallback' => function () {
48
+                        'matchCallback' => function() {
49 49
                             $option = Option::get('sitemap');
50 50
 
51 51
                             return $option['enable_sitemap'];
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
                     $post = Post::find()
113 113
                         ->from(['post' => Post::tableName()])
114 114
                         ->innerJoinWith([
115
-                            'terms' => function ($query) {
115
+                            'terms' => function($query) {
116 116
                                 /* @var $query \yii\db\ActiveQuery */
117 117
                                 $query->from(['term' => Term::tableName()]);
118 118
                             },
Please login to merge, or discard this patch.
modules/toolbar/frontend/Module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     public function bootstrap($app)
54 54
     {
55 55
         if (!$app->user->isGuest) {
56
-            $app->on(Application::EVENT_BEFORE_REQUEST, function () use ($app) {
56
+            $app->on(Application::EVENT_BEFORE_REQUEST, function() use ($app) {
57 57
                 $app->getView()->on(View::EVENT_END_BODY, [$this, 'renderToolbar']);
58 58
             });
59 59
         }
Please login to merge, or discard this patch.
themes/writesdown/post/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
                         <footer class="footer-meta">
82 82
                             <?php $tags = $post->getTerms()
83 83
                                 ->innerJoinWith([
84
-                                    'taxonomy' => function ($query) {
84
+                                    'taxonomy' => function($query) {
85 85
                                         /** @var $query \yii\db\ActiveQuery */
86 86
                                         return $query->from(['taxonomy' => Taxonomy::tableName()]);
87 87
                                     },
Please login to merge, or discard this patch.
themes/writesdown/post/protected.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
 $category = $post->getTerms()
45 45
     ->innerJoinWith([
46
-        'taxonomy' => function ($query) {
46
+        'taxonomy' => function($query) {
47 47
             /* @var $query \yii\db\ActiveQuery */
48 48
             $query->from(['taxonomy' => Taxonomy::tableName()]);
49 49
         },
Please login to merge, or discard this patch.
themes/writesdown/post/view.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
 $category = $post->getTerms()
48 48
     ->innerJoinWith([
49
-        'taxonomy' => function ($query) {
49
+        'taxonomy' => function($query) {
50 50
             /* @var $query \yii\db\ActiveQuery */
51 51
             $query->from(['taxonomy' => Taxonomy::tableName()]);
52 52
         },
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
         <footer class="footer-meta">
102 102
             <?php $tags = $post->getTerms()
103 103
                 ->innerJoinWith([
104
-                    'taxonomy' => function ($query) {
104
+                    'taxonomy' => function($query) {
105 105
                         /** @var $query \yii\db\ActiveQuery */
106 106
                         return $query->from(['taxonomy' => Taxonomy::tableName()]);
107 107
                     },
Please login to merge, or discard this patch.