Completed
Push — master ( 100486...45110c )
by Basil
11:58 queued 05:54
created
core/base/Widget.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,6 @@
 block discarded – undo
11 11
     {
12 12
         $class = new ReflectionClass($this);
13 13
         
14
-        return '@app/views/widgets/' . Inflector::camel2id($class->getShortName());
14
+        return '@app/views/widgets/'.Inflector::camel2id($class->getShortName());
15 15
     }
16 16
 }
Please login to merge, or discard this patch.
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/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/remoteadmin/models/Site.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,14 +69,14 @@
 block discarded – undo
69 69
                 $curl->setBasicAuthentication($this->auth_user, $this->auth_pass);
70 70
             }
71 71
             
72
-            $curl->get($url . 'admin/api-admin-remote?token=' . sha1($this->token));
72
+            $curl->get($url.'admin/api-admin-remote?token='.sha1($this->token));
73 73
             if ($curl->error) {
74 74
                 $data = false;
75 75
             } else {
76 76
                 $data = json_decode($curl->response, true);
77 77
             }
78 78
             
79
-            Yii::$app->cache->set($url, $data, (60*2));
79
+            Yii::$app->cache->set($url, $data, (60 * 2));
80 80
         }
81 81
         
82 82
         return $data;
Please login to merge, or discard this patch.