Completed
Push — master ( fb7a26...d5e2d7 )
by Agiel Kurniawan
04:29
created
themes/writesdown/site/search.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 /* @var $image common\models\Media */
19 19
 /* @var $pages yii\data\Pagination */
20 20
 
21
-$this->title = Html::encode(Yii::t('writesdown', 'Search Result: {s}', ['s' => $s]) . ' - ' . Option::get('sitetitle'));
21
+$this->title = Html::encode(Yii::t('writesdown', 'Search Result: {s}', ['s' => $s]).' - '.Option::get('sitetitle'));
22 22
 $this->params['breadcrumbs'][] = Html::encode(Yii::t('writesdown', 'Search Result: {s}', ['s' => $s]));
23 23
 $this->registerMetaTag([
24 24
     'name' => 'robots',
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
                         <footer class="footer-meta">
84 84
                             <?php $tags = $post->getTerms()
85 85
                                 ->innerJoinWith([
86
-                                    'taxonomy' => function ($query) {
86
+                                    'taxonomy' => function($query) {
87 87
                                         /** @var $query \yii\db\ActiveQuery */
88 88
                                         return $query->from(['taxonomy' => Taxonomy::tableName()]);
89 89
                                     },
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
                             <?php if ($tags): ?>
95 95
                                 <h3>
96 96
                                     <?php foreach ($tags as $tag): ?>
97
-                                        <?= Html::a($tag->name, $tag->url, ['class' => 'badge']) . "\n" ?>
97
+                                        <?= Html::a($tag->name, $tag->url, ['class' => 'badge'])."\n" ?>
98 98
                                     <?php endforeach ?>
99 99
                                 </h3>
100 100
                             <?php endif ?>
Please login to merge, or discard this patch.
themes/writesdown/site/index.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 /* @var $image common\models\Media */
18 18
 /* @var $pages yii\data\Pagination */
19 19
 
20
-$this->title = Html::encode(Option::get('sitetitle') . ' - ' . Option::get('tagline'));
20
+$this->title = Html::encode(Option::get('sitetitle').' - '.Option::get('tagline'));
21 21
 $this->params['breadcrumbs'][] = Html::encode(Option::get('sitetitle'));
22 22
 ?>
23 23
 <div class="archive site-index">
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
                         <footer class="footer-meta">
73 73
                             <?php $tags = $post->getTerms()
74 74
                                 ->innerJoinWith([
75
-                                    'taxonomy' => function ($query) {
75
+                                    'taxonomy' => function($query) {
76 76
                                         /** @var $query \yii\db\ActiveQuery */
77 77
                                         return $query->from(['taxonomy' => Taxonomy::tableName()]);
78 78
                                     },
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
                             <?php if ($tags): ?>
84 84
                                 <h3>
85 85
                                     <?php foreach ($tags as $tag): ?>
86
-                                        <?= Html::a($tag->name, $tag->url, ['class' => 'badge']) . "\n" ?>
86
+                                        <?= Html::a($tag->name, $tag->url, ['class' => 'badge'])."\n" ?>
87 87
                                     <?php endforeach ?>
88 88
                                 </h3>
89 89
                             <?php endif ?>
Please login to merge, or discard this patch.
themes/writesdown/site/error.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 /* @var $message string */
17 17
 /* @var $exception Exception */
18 18
 
19
-$this->title = $name . ' - ' . Option::get('sitetitle');
19
+$this->title = $name.' - '.Option::get('sitetitle');
20 20
 $this->params['breadcrumbs'][] = $name;
21 21
 $this->registerMetaTag([
22 22
     'name' => 'robots',
Please login to merge, or discard this patch.
themes/writesdown/classes/meta/Meta.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 
39 39
     public function renderBox()
40 40
     {
41
-        echo Yii::$app->view->renderFile(__DIR__ . '/views/_form.php', [
41
+        echo Yii::$app->view->renderFile(__DIR__.'/views/_form.php', [
42 42
             'model' => $this->model,
43 43
             'form'  => $this->form
44 44
         ]);
Please login to merge, or discard this patch.
themes/writesdown/layouts/main.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 // Favicon
22 22
 $this->registerLinkTag([
23 23
     'rel' => 'icon',
24
-    'href' => $assetBundle->baseUrl . '/img/favicon.ico',
24
+    'href' => $assetBundle->baseUrl.'/img/favicon.ico',
25 25
     'type' => 'image/x-icon',
26 26
 ]);
27 27
 
Please login to merge, or discard this patch.
themes/writesdown/layouts/header.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
             <?= Html::beginTag($brandTag, ['class' => 'navbar-brand']) ?>
55 55
 
56 56
             <a href="<?= Url::base(true) ?>">
57
-                <img src="<?= $assetBundle->baseUrl . '/img/logo.png' ?>" alt="Website Logo">
57
+                <img src="<?= $assetBundle->baseUrl.'/img/logo.png' ?>" alt="Website Logo">
58 58
                 <span><?= Html::encode($siteTitle) ?></span>
59 59
             </a>
60 60
             <?= Html::endTag($brandTag) ?>
Please login to merge, or discard this patch.
themes/writesdown/term/view-tag.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,13 +18,13 @@  discard block
 block discarded – undo
18 18
 /* @var $image common\models\Media */
19 19
 /* @var $pages yii\data\Pagination */
20 20
 
21
-$this->title = Html::encode($term->taxonomy->singular_name . ': ' . $term->name . ' - ' . Option::get('sitetitle'));
21
+$this->title = Html::encode($term->taxonomy->singular_name.': '.$term->name.' - '.Option::get('sitetitle'));
22 22
 $this->params['breadcrumbs'][] = Html::encode($term->name);
23 23
 ?>
24 24
 
25 25
 <div class="archive term-view">
26 26
     <header id="archive-header" class="archive-header">
27
-        <h1><?= Html::encode($term->taxonomy->singular_name . ': ' . $term->name) ?></h1>
27
+        <h1><?= Html::encode($term->taxonomy->singular_name.': '.$term->name) ?></h1>
28 28
 
29 29
         <?php if ($term->description): ?>
30 30
             <div class="description term-description"><?= $term->description ?></div>
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
                         <footer class="footer-meta">
83 83
                             <?php $tags = $post->getTerms()
84 84
                                 ->innerJoinWith([
85
-                                    'taxonomy' => function ($query) {
85
+                                    'taxonomy' => function($query) {
86 86
                                         /** @var $query \yii\db\ActiveQuery */
87 87
                                         return $query->from(['taxonomy' => Taxonomy::tableName()]);
88 88
                                     },
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
                             <?php if ($tags): ?>
94 94
                                 <h3>
95 95
                                     <?php foreach ($tags as $tag): ?>
96
-                                        <?= Html::a($tag->name, $tag->url, ['class' => 'badge']) . "\n" ?>
96
+                                        <?= Html::a($tag->name, $tag->url, ['class' => 'badge'])."\n" ?>
97 97
                                     <?php endforeach ?>
98 98
                                 </h3>
99 99
                             <?php endif ?>
Please login to merge, or discard this patch.
themes/writesdown/media/view-image.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 /* @var $metadata [] */
16 16
 /* @var $comment common\models\MediaComment */
17 17
 
18
-$this->title = Html::encode($media->title . ' - ' . Option::get('sitetitle'));
18
+$this->title = Html::encode($media->title.' - '.Option::get('sitetitle'));
19 19
 
20 20
 if ($media->mediaPost) {
21 21
     $this->params['breadcrumbs'][] = [
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             <div class="media-caption">
62 62
                 <?= Html::a(
63 63
                     $media->getThumbnail('full'),
64
-                    $media->uploadUrl . $metadata['versions']['full']['url']
64
+                    $media->uploadUrl.$metadata['versions']['full']['url']
65 65
                 ) ?>
66 66
 
67 67
                 <div class="media-caption-text">
Please login to merge, or discard this patch.
themes/writesdown/user/view.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 /* @var $pages yii\data\Pagination */
20 20
 
21 21
 $this->title = Html::encode(Yii::t('writesdown', 'All Posts By {user}', ['user' => $user->display_name])
22
-    . ' - ' . Option::get('sitetitle'));
22
+    . ' - '.Option::get('sitetitle'));
23 23
 $this->params['breadcrumbs'][] = Html::encode(Yii::t('writesdown', 'All Posts by {user}',
24 24
     ['user' => $user->display_name]));
25 25
 ?>
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
                         <footer class="footer-meta">
81 81
                             <?php $tags = $post->getTerms()
82 82
                                 ->innerJoinWith([
83
-                                    'taxonomy' => function ($query) {
83
+                                    'taxonomy' => function($query) {
84 84
                                         /** @var $query \yii\db\ActiveQuery */
85 85
                                         return $query->from(['taxonomy' => Taxonomy::tableName()]);
86 86
                                     },
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
                             <?php if ($tags): ?>
92 92
                                 <h3>
93 93
                                     <?php foreach ($tags as $tag): ?>
94
-                                        <?= Html::a($tag->name, $tag->url, ['class' => 'badge']) . "\n" ?>
94
+                                        <?= Html::a($tag->name, $tag->url, ['class' => 'badge'])."\n" ?>
95 95
                                     <?php endforeach ?>
96 96
                                 </h3>
97 97
                             <?php endif ?>
Please login to merge, or discard this patch.