Completed
Branch master (b30f8b)
by Basil
06:06
created
core/base/DynamicModel.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
     public function attributeLabels()
17 17
     {
18 18
         $labels = [];
19
-        foreach($this->attributeLabels as $key => $value) {
19
+        foreach ($this->attributeLabels as $key => $value) {
20 20
             $labels[$key] = Yii::t('app', $value);
21 21
         }
22 22
         
Please login to merge, or discard this patch.
core/base/Bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
             if (method_exists($module, 'registerComponents')) {
95 95
                 foreach ($module->registerComponents() as $componentId => $definition) {
96 96
                     if (!$app->has($componentId)) {
97
-                        Yii::trace('Register component ' . $componentId, __METHOD__);
97
+                        Yii::trace('Register component '.$componentId, __METHOD__);
98 98
                         $app->set($componentId, $definition);
99 99
                     }
100 100
                 }
Please login to merge, or discard this patch.
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.