Test Setup Failed
Push — master ( 9ef876...358e12 )
by Александр
36:03
created
src/controllers/UpaPersonalController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
                         $e->sender->formModels['dm'] = $dm;
105 105
                     },
106 106
 
107
-                    'on beforeSave' => function (Event $e) {
107
+                    'on beforeSave' => function(Event $e) {
108 108
                         /**
109 109
                          * @var $action BackendModelUpdateAction;
110 110
                          * @var $model CmsUser;
Please login to merge, or discard this patch.
src/base/Component.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
     {
185 185
         $this->_callAttributes = $this->attributes;
186 186
 
187
-        \Yii::beginProfile("Init: ".static::class);
187
+        \Yii::beginProfile("Init: " . static::class);
188 188
 
189 189
         if (!\Yii::$app instanceof Application) {
190 190
             if ($this->cmsSite === null && isset(\Yii::$app->currentSite) && \Yii::$app->currentSite->site) {
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
 
199 199
         $this->_initSettings();
200 200
 
201
-        \Yii::endProfile("Init: ".static::class);
201
+        \Yii::endProfile("Init: " . static::class);
202 202
 
203 203
         $this->trigger(self::EVENT_INIT);
204 204
     }
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
         } catch (Exception $e) {
217 217
         } catch (\Exception $e) {
218 218
             \Yii::error(\Yii::t('skeeks/cms', '{cms} component error load defaul settings',
219
-                    ['cms' => 'Cms']).': '.$e->getMessage());
219
+                    ['cms' => 'Cms']) . ': ' . $e->getMessage());
220 220
         }
221 221
 
222 222
         return $this;
@@ -675,7 +675,7 @@  discard block
 block discarded – undo
675 675
      */
676 676
     public function getCallableId()
677 677
     {
678
-        return $this->settingsId.'-callable';
678
+        return $this->settingsId . '-callable';
679 679
     }
680 680
 
681 681
     /**
@@ -686,7 +686,7 @@  discard block
 block discarded – undo
686 686
     public function getSettingsId($autoGenerate = true)
687 687
     {
688 688
         if ($autoGenerate && $this->_settingsId === null) {
689
-            $this->_settingsId = static::$autoSettingsIdPrefix.static::$counterSettings++;
689
+            $this->_settingsId = static::$autoSettingsIdPrefix . static::$counterSettings++;
690 690
         }
691 691
 
692 692
         return $this->_settingsId;
@@ -770,7 +770,7 @@  discard block
 block discarded – undo
770 770
         if (isset($this->{$name})) {
771 771
             $this->{$name} = $value;
772 772
         } else {
773
-            throw new InvalidParamException(get_class($this).' has no attribute named "'.$name.'".');
773
+            throw new InvalidParamException(get_class($this) . ' has no attribute named "' . $name . '".');
774 774
         }
775 775
     }
776 776
 
@@ -820,7 +820,7 @@  discard block
 block discarded – undo
820 820
         if (isset($this->_oldAttributes[$name]) || $this->hasAttribute($name)) {
821 821
             $this->_oldAttributes[$name] = $value;
822 822
         } else {
823
-            throw new InvalidParamException(get_class($this).' has no attribute named "'.$name.'".');
823
+            throw new InvalidParamException(get_class($this) . ' has no attribute named "' . $name . '".');
824 824
         }
825 825
     }
826 826
 
Please login to merge, or discard this patch.
src/cmsWidgets/treeMenu/TreeMenuCmsWidget.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -315,12 +315,12 @@
 block discarded – undo
315 315
 
316 316
     protected function _run()
317 317
     {
318
-        $key = $this->getCacheKey().'run';
318
+        $key = $this->getCacheKey() . 'run';
319 319
 
320 320
         $dependency = new TagDependency([
321 321
             'tags' =>
322 322
                 [
323
-                    $this->className().(string)$this->namespace,
323
+                    $this->className() . (string)$this->namespace,
324 324
                     (new Tree())->getTableCacheTag(),
325 325
                 ],
326 326
         ]);
Please login to merge, or discard this patch.