Completed
Push — master ( fb7a26...d5e2d7 )
by Agiel Kurniawan
04:29
created
modules/sitemap/backend/views/default/_taxonomies.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
             ?>
44 44
             <?= Html::label(
45 45
                 Yii::t('sitemap', 'Priority:'),
46
-                'option-option_value-taxonomies-priority-' . $taxonomy->id,
46
+                'option-option_value-taxonomies-priority-'.$taxonomy->id,
47 47
                 ['class' => 'form-label']
48 48
             ) ?>
49 49
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
                 "Option[option_value][taxonomy][$taxonomy->id][priority]",
52 52
                 $selection, $priority, [
53 53
                     'class' => 'form-control',
54
-                    'id'    => 'option-option_value-taxonomies-priority-' . $taxonomy->id,
54
+                    'id'    => 'option-option_value-taxonomies-priority-'.$taxonomy->id,
55 55
                 ]
56 56
             ) ?>
57 57
         </div>
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             ?>
66 66
             <?= Html::label(
67 67
                 Yii::t('sitemap', 'Change Frequency:'),
68
-                'option-option_value-taxonomies-changefreq-' . $taxonomy->id, ['class' => 'form-label']
68
+                'option-option_value-taxonomies-changefreq-'.$taxonomy->id, ['class' => 'form-label']
69 69
             ) ?>
70 70
 
71 71
             <?= Html::dropDownList(
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
                 $selection,
74 74
                 $changeFreq, [
75 75
                     'class' => 'form-control',
76
-                    'id'    => 'option-option_value-taxonomies-changefreq-' . $taxonomy->id,
76
+                    'id'    => 'option-option_value-taxonomies-changefreq-'.$taxonomy->id,
77 77
                 ]
78 78
             ) ?>
79 79
         </div>
Please login to merge, or discard this patch.
modules/sitemap/backend/views/default/_form.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -48,32 +48,32 @@
 block discarded – undo
48 48
             'items'        => [
49 49
                 [
50 50
                     'label'       => '<i class="fa fa-cog"></i> <span class="hidden-xs">'
51
-                        . Yii::t('sitemap', 'Basic') . '</span>',
51
+                        . Yii::t('sitemap', 'Basic').'</span>',
52 52
                     'url'         => '#sitemap-basic-option',
53 53
                     'options'     => ['class' => 'active'],
54 54
                     'linkOptions' => ['data-toggle' => 'tab'],
55 55
                 ],
56 56
                 [
57 57
                     'label'       => '<i class="fa fa-home"></i> <span class="hidden-xs">'
58
-                        . Yii::t('sitemap', 'Home') . '</span>',
58
+                        . Yii::t('sitemap', 'Home').'</span>',
59 59
                     'url'         => '#sitemap-home-option',
60 60
                     'linkOptions' => ['data-toggle' => 'tab'],
61 61
                 ],
62 62
                 [
63 63
                     'label'       => '<i class="fa fa-files-o"></i> <span class="hidden-xs">'
64
-                        . Yii::t('sitemap', 'Post Types') . '</span>',
64
+                        . Yii::t('sitemap', 'Post Types').'</span>',
65 65
                     'url'         => '#sitemap-post-types-option',
66 66
                     'linkOptions' => ['data-toggle' => 'tab'],
67 67
                 ],
68 68
                 [
69 69
                     'label'       => '<i class="fa fa-tags"></i> <span class="hidden-xs">'
70
-                        . Yii::t('sitemap', 'Taxonomies') . '</span>',
70
+                        . Yii::t('sitemap', 'Taxonomies').'</span>',
71 71
                     'url'         => '#sitemap-taxonomies-option',
72 72
                     'linkOptions' => ['data-toggle' => 'tab'],
73 73
                 ],
74 74
                 [
75 75
                     'label'       => '<i class="fa fa-picture-o"></i> <span class="hidden-xs">'
76
-                        . Yii::t('sitemap', 'Media') . '</span>',
76
+                        . Yii::t('sitemap', 'Media').'</span>',
77 77
                     'url'         => '#sitemap-media-option',
78 78
                     'linkOptions' => ['data-toggle' => 'tab'],
79 79
                 ],
Please login to merge, or discard this patch.
modules/sitemap/backend/views/default/_post-types.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
             ?>
48 48
             <?= Html::label(
49 49
                 Yii::t('sitemap', 'Priority:'),
50
-                'option-option_value-post-types-priority-' . $postType->id,
50
+                'option-option_value-post-types-priority-'.$postType->id,
51 51
                 ['class' => 'form-label']
52 52
             ) ?>
53 53
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
                 "Option[option_value][post_type][$postType->id][priority]",
56 56
                 $selection, $priority, [
57 57
                     'class' => 'form-control',
58
-                    'id'    => 'option-option_value-post-types-priority-' . $postType->id,
58
+                    'id'    => 'option-option_value-post-types-priority-'.$postType->id,
59 59
                 ]
60 60
             ) ?>
61 61
 
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
             ?>
70 70
             <?= Html::label(
71 71
                 Yii::t('sitemap', 'Change Frequency:'),
72
-                'option-option_value-post-types-changefreq-' . $postType->id,
72
+                'option-option_value-post-types-changefreq-'.$postType->id,
73 73
                 ['class' => 'form-label']
74 74
             ) ?>
75 75
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
                 $selection,
79 79
                 $changeFreq, [
80 80
                     'class' => 'form-control',
81
-                    'id'    => 'option-option_value-post-types-changefreq-' . $postType->id,
81
+                    'id'    => 'option-option_value-post-types-changefreq-'.$postType->id,
82 82
                 ]
83 83
             ) ?>
84 84
 
Please login to merge, or discard this patch.
modules/sitemap/backend/Module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
             Yii::$app->i18n->translations['sitemap'] = [
34 34
                 'class'          => 'yii\i18n\PhpMessageSource',
35 35
                 'sourceLanguage' => Yii::$app->language,
36
-                'basePath'       => __DIR__ . '/../messages',
36
+                'basePath'       => __DIR__.'/../messages',
37 37
             ];
38 38
         }
39 39
     }
Please login to merge, or discard this patch.
modules/toolbar/frontend/Module.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
             Yii::$app->i18n->translations['toolbar'] = [
43 43
                 'class'          => 'yii\i18n\PhpMessageSource',
44 44
                 'sourceLanguage' => Yii::$app->language,
45
-                'basePath'       => __DIR__ . '/../messages',
45
+                'basePath'       => __DIR__.'/../messages',
46 46
             ];
47 47
         }
48 48
     }
@@ -53,7 +53,7 @@  discard block
 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
         }
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 
72 72
         $urlBack = Yii::$app->urlManagerBack;
73 73
         $view = $event->sender;
74
-        $view->registerCss($view->renderPhpFile(__DIR__ . '/assets/toolbar.min.css'));
74
+        $view->registerCss($view->renderPhpFile(__DIR__.'/assets/toolbar.min.css'));
75 75
         NavBar::begin([
76 76
             'id'                    => 'wd-frontend-toolbar',
77 77
             'brandLabel'            => Html::img('@web/img/logo-mini.png'),
Please login to merge, or discard this patch.
common/components/TimeZoneHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
         foreach (timezone_identifiers_list() as $zone) {
29 29
             date_default_timezone_set($zone);
30
-            $timezone[$zone] = $zone . ' UTC/GMT ' . date('P', $timestamp);
30
+            $timezone[$zone] = $zone.' UTC/GMT '.date('P', $timestamp);
31 31
         }
32 32
 
33 33
         return $timezone;
Please login to merge, or discard this patch.
common/models/Media.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
      */
267 267
     public static function getUploadUrl()
268 268
     {
269
-        return Yii::$app->urlManagerFront->hostInfo . Yii::$app->urlManagerFront->baseUrl . '/uploads/';
269
+        return Yii::$app->urlManagerFront->hostInfo.Yii::$app->urlManagerFront->baseUrl.'/uploads/';
270 270
     }
271 271
 
272 272
     /**
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
                 $imageHeight = $metadata['versions']['full']['height'];
293 293
             }
294 294
 
295
-            $thumbnail = Html::img($this->getUploadUrl() . $imageSrc, ArrayHelper::merge([
295
+            $thumbnail = Html::img($this->getUploadUrl().$imageSrc, ArrayHelper::merge([
296 296
                 'width' => $imageWidth,
297 297
                 'height' => $imageHeight,
298 298
                 'alt' => $this->title,
Please login to merge, or discard this patch.
common/models/Module.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
      */
183 183
     public function getParamPath()
184 184
     {
185
-        return Yii::getAlias('@modules/' . $this->directory . '/config/params.php');
185
+        return Yii::getAlias('@modules/'.$this->directory.'/config/params.php');
186 186
     }
187 187
 
188 188
     /**
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
      */
193 193
     public function getConfigPath()
194 194
     {
195
-        return Yii::getAlias('@modules/' . $this->directory . '/config/config.php');
195
+        return Yii::getAlias('@modules/'.$this->directory.'/config/config.php');
196 196
     }
197 197
 
198 198
     /**
Please login to merge, or discard this patch.
common/models/PasswordResetRequestForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,9 +65,9 @@
 block discarded – undo
65 65
                     'html' => 'passwordResetToken-html',
66 66
                     'text' => 'passwordResetToken-text',
67 67
                 ], ['user' => $user])
68
-                    ->setFrom([Option::get('admin_email') => Yii::$app->name . ' robot'])
68
+                    ->setFrom([Option::get('admin_email') => Yii::$app->name.' robot'])
69 69
                     ->setTo($this->email)
70
-                    ->setSubject('Password reset for ' . Yii::$app->name)
70
+                    ->setSubject('Password reset for '.Yii::$app->name)
71 71
                     ->send();
72 72
             }
73 73
         }
Please login to merge, or discard this patch.