Completed
Push — master ( 14d951...94c0bf )
by Basil
05:03
created
core/base/ModuleReflection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
         
98 98
         return [
99 99
             'module' => $this->module->id,
100
-            'route' => $this->module->id . '/' . $request['route'],
100
+            'route' => $this->module->id.'/'.$request['route'],
101 101
             'params' => $request['args'],
102 102
         ];
103 103
     }
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
             throw new InvalidConfigException(sprintf("Unable to create controller '%s' for module '%s'.", $requestRoute['route'], $this->module->id));
118 118
         }
119 119
         
120
-        Yii::info('LUYA module run module "'.$this->module->id.'" route ' . $requestRoute['route'], __METHOD__);
120
+        Yii::info('LUYA module run module "'.$this->module->id.'" route '.$requestRoute['route'], __METHOD__);
121 121
         
122 122
         // run the action on the provided controller object
123 123
         return $controller[0]->runAction($controller[1], $requestRoute['args']);
Please login to merge, or discard this patch.
core/traits/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     public function getWebroot()
64 64
     {
65 65
         if ($this->_webroot === null) {
66
-            $this->_webroot = realpath(realpath($this->basePath) . DIRECTORY_SEPARATOR . $this->webrootDirectory);
66
+            $this->_webroot = realpath(realpath($this->basePath).DIRECTORY_SEPARATOR.$this->webrootDirectory);
67 67
         }
68 68
         
69 69
         return $this->_webroot;
Please login to merge, or discard this patch.
modules/account/base/RegisterForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         if ($this->validate()) {
61 61
             $model = $this->model;
62 62
             $model->scenario = $this->modelScenario;
63
-            $model->attributes  = $this->attributes;
63
+            $model->attributes = $this->attributes;
64 64
             //$model->setAttributes($this->getAttributes());
65 65
             if ($model->validate()) {
66 66
                 if ($model->save()) {
Please login to merge, or discard this patch.
modules/account/views/register/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 <?php echo $form->field($model, 'city') ?>
13 13
 <?php echo $form->field($model, 'country') ?>
14 14
 <?php echo $form->field($model, 'subscription_newsletter')->checkbox(); ?>
15
-<?php echo $form->field($model,  'subscription_medianews')->checkbox(); ?>
15
+<?php echo $form->field($model, 'subscription_medianews')->checkbox(); ?>
16 16
 <button type="submit">Submit</button>
17 17
 <?php echo $form->errorSummary($model); ?>
18 18
 <?php \yii\widgets\ActiveForm::end(); ?>
Please login to merge, or discard this patch.
modules/account/views/layout.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,11 @@
 block discarded – undo
11 11
         <li><a href="<?php echo Url::toManager('account/default/index'); ?>">Login</a></li>
12 12
         <li><a href="<?php echo Url::toManager('account/register/index'); ?>">Registration</a></li>
13 13
         <li><a href="<?php echo Url::toManager('account/default/lostpass'); ?>">Passwort verloren</a></li>
14
-        <?php else: ?>
15
-        <li><a href="<?php echo Url::toManager('account/default/logout'); ?>">Logout</a></li>
14
+        <?php else {
15
+    : ?>
16
+        <li><a href="<?php echo Url::toManager('account/default/logout');
17
+}
18
+?>">Logout</a></li>
16 19
         <li><a href="<?php echo Url::toManager('account/settings/index'); ?>">Settings</a></li>
17 20
         <?php endif; ?>
18 21
     </ul>
Please login to merge, or discard this patch.
modules/account/views/default/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,4 +8,4 @@
 block discarded – undo
8 8
 
9 9
 <button type="submit">Submit</button>
10 10
 
11
-<?php \yii\widgets\ActiveForm::end();?>
11
+<?php \yii\widgets\ActiveForm::end(); ?>
Please login to merge, or discard this patch.
modules/cmsadmin/apis/NavItemController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -413,7 +413,7 @@
 block discarded – undo
413 413
                 if ($parentNavId != 0) {
414 414
                     $node = NavItem::find()->where(['nav_id' => $parentNavId])->one();
415 415
                     if ($parentNavId) {
416
-                        $data = $node->title . '/' . $data;
416
+                        $data = $node->title.'/'.$data;
417 417
                     }
418 418
                 }
419 419
             }
Please login to merge, or discard this patch.
modules/cmsadmin/blocks/ListBlock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,6 +48,6 @@
 block discarded – undo
48 48
 
49 49
     public function twigAdmin()
50 50
     {
51
-        return '{% if vars.elements is empty%}<span class="block__empty-text">' . Module::t('block_list_no_content') . '</span>{% else %}<{{ extras.listType }}>{% for row in vars.elements if row.value is not empty %}<li>{{ row.value }}</li>{% endfor %}</{{ extras.listType }}>{% endif %}';
51
+        return '{% if vars.elements is empty%}<span class="block__empty-text">'.Module::t('block_list_no_content').'</span>{% else %}<{{ extras.listType }}>{% for row in vars.elements if row.value is not empty %}<li>{{ row.value }}</li>{% endfor %}</{{ extras.listType }}>{% endif %}';
52 52
     }
53 53
 }
Please login to merge, or discard this patch.
modules/cmsadmin/blocks/VideoBlock.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,12 +48,12 @@  discard block
 block discarded – undo
48 48
         if (($pos = strpos($query, 'v=')) !== false) {
49 49
             $videoId = substr($query, $pos + 2);
50 50
 
51
-            $url = $scheme . '://' . $host . '/embed/' . $videoId;
51
+            $url = $scheme.'://'.$host.'/embed/'.$videoId;
52 52
 
53 53
             if ($this->getCfgValue('controls')) {
54 54
                 $url .= '?rel=0&amp;controls=0&amp;showinfo=0';
55 55
             } else {
56
-                $url .= '?' . $this->getCfgValue('controls');
56
+                $url .= '?'.$this->getCfgValue('controls');
57 57
             }
58 58
         }
59 59
         return $url;
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         $path = trim($path, '/');
65 65
         $url = '';
66 66
         if (is_numeric($path)) {
67
-            $url = 'https://player.vimeo.com/video/' . $path . '?color=0c88dd&title=0&byline=0&portrait=0&badge=0';
67
+            $url = 'https://player.vimeo.com/video/'.$path.'?color=0c88dd&title=0&byline=0&portrait=0&badge=0';
68 68
         }
69 69
         return $url;
70 70
     }
@@ -102,6 +102,6 @@  discard block
 block discarded – undo
102 102
 
103 103
     public function twigAdmin()
104 104
     {
105
-        return '{% if extras.url is not empty %}<div style="margin:25px;width:300px"><div class="video-container"><iframe width="640" height="480" src="{{ extras.url }}" frameborder="0" allowfullscreen></iframe></div></div>{% else %}<span class="block__empty-text">' . Module::t('block_video_no_video') . '</span>{% endif %}';
105
+        return '{% if extras.url is not empty %}<div style="margin:25px;width:300px"><div class="video-container"><iframe width="640" height="480" src="{{ extras.url }}" frameborder="0" allowfullscreen></iframe></div></div>{% else %}<span class="block__empty-text">'.Module::t('block_video_no_video').'</span>{% endif %}';
106 106
     }
107 107
 }
Please login to merge, or discard this patch.