Passed
Push — master ( 177ba5...f3e22f )
by Sarah
13:48
created
controllers/AdminController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
             $this->view->saved();
19 19
         }
20 20
 
21
-        return $this->render('index', ['model' => $model]);
21
+        return $this->render('index', [ 'model' => $model ]);
22 22
     }
23 23
 
24 24
 }
Please login to merge, or discard this patch.
messages/es/base.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2
-	return [
3
-		'<strong>Steam</strong>' => '',
4
-		'Steam Settings' => '',
5
-		'Steam Widget URL:' => '',
6
-		'<strong>Steam</strong> module configuration' => '',
7
-		'Save' => '',
8
-	];
2
+    return [
3
+        '<strong>Steam</strong>' => '',
4
+        'Steam Settings' => '',
5
+        'Steam Widget URL:' => '',
6
+        '<strong>Steam</strong> module configuration' => '',
7
+        'Save' => '',
8
+    ];
Please login to merge, or discard this patch.
messages/en-US/base.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-	return [
4
-		'<strong>Steam</strong>' => '<strong>Steam</strong>',
5
-		'Steam Settings' => 'Steam Settings',
6
-		'Steam Widget URL:' => 'Steam Widget URL:',
7
-		'<strong>Steam</strong> module configuration' => '<strong>Steam</strong> module configuration',
8
-		'Save' => 'Save',
9
-	];
3
+    return [
4
+        '<strong>Steam</strong>' => '<strong>Steam</strong>',
5
+        'Steam Settings' => 'Steam Settings',
6
+        'Steam Widget URL:' => 'Steam Widget URL:',
7
+        '<strong>Steam</strong> module configuration' => '<strong>Steam</strong> module configuration',
8
+        'Save' => 'Save',
9
+    ];
Please login to merge, or discard this patch.
messages/ja/base.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2
-	return [
3
-		'<strong>Steam</strong>' => '<strong>Steam</strong>',
4
-		'Steam Settings' => 'Steam 設定',
5
-		'Steam Widget URL:' => 'SteamウィジェットURL:',
6
-		'<strong>Steam</strong> module configuration' => '<strong>Steam</strong> モジュール構成',
7
-		'Save' => 'セーブ',
8
-	];
2
+    return [
3
+        '<strong>Steam</strong>' => '<strong>Steam</strong>',
4
+        'Steam Settings' => 'Steam 設定',
5
+        'Steam Widget URL:' => 'SteamウィジェットURL:',
6
+        '<strong>Steam</strong> module configuration' => '<strong>Steam</strong> モジュール構成',
7
+        'Save' => 'セーブ',
8
+    ];
Please login to merge, or discard this patch.
widgets/SteamFrame.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     public function run()
23 23
     {
24 24
         $url = Yii::$app->getModule('steam')->getServerUrl() . '/widget';
25
-        return $this->render('steamframe', ['steamUrl' => $url]);
25
+        return $this->render('steamframe', [ 'steamUrl' => $url ]);
26 26
     }
27 27
 
28 28
 }
Please login to merge, or discard this patch.
widgets/views/steamframe.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 ?>
9 9
 
10 10
 <div class="panel panel-default panel-steam" id="panel-steam">
11
-    <?= \humhub\widgets\PanelMenu::widget(['id' => 'panel-steam']); ?>
11
+    <?= \humhub\widgets\PanelMenu::widget([ 'id' => 'panel-steam' ]); ?>
12 12
   <div class="panel-heading">
13 13
     <?=Yii::t('SteamModule.base', '<strong>Steam</strong>'); ?>
14 14
   </div>
Please login to merge, or discard this patch.
models/ConfigureForm.php 2 patches
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 
8 8
 /**
9 9
  * ConfigureForm defines the configurable fields.
10
-
11 10
  */
12 11
 class ConfigureForm extends Model
13 12
 {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     public $serverUrl;
16 16
 
17 17
     // Settings
18
-    public $implement = ['System.Behaviors.SettingsModel'];
18
+    public $implement = [ 'System.Behaviors.SettingsModel' ];
19 19
 
20 20
     // Settings field & Code
21 21
     public $settingsFields = 'settings/fields.yaml';
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     public function rules()
29 29
     {
30 30
         return [
31
-            ['serverUrl', 'string'],
31
+            [ 'serverUrl', 'string' ],
32 32
         ];
33 33
     }
34 34
 
Please login to merge, or discard this patch.
views/admin/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,13 +10,13 @@
 block discarded – undo
10 10
 
11 11
     <div class="panel-body">
12 12
 
13
-        <?php $form = ActiveForm::begin(['id' => 'configure-form']); ?>
13
+        <?php $form = ActiveForm::begin([ 'id' => 'configure-form' ]); ?>
14 14
         <div class="form-group">
15 15
             <?= $form->field($model, 'serverUrl'); ?>
16 16
         </div>
17 17
 
18 18
         <div class="form-group">
19
-            <?= Html::submitButton(Yii::t('SteamModule.base', 'Save'), ['class' => 'btn btn-primary', 'data-ui-loader' => '']); ?>
19
+            <?= Html::submitButton(Yii::t('SteamModule.base', 'Save'), [ 'class' => 'btn btn-primary', 'data-ui-loader' => '' ]); ?>
20 20
         </div>
21 21
 
22 22
         <?php ActiveForm::end(); ?>
Please login to merge, or discard this patch.
messages/zh_cn/base.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2
-	return [
3
-		'<strong>Steam</strong>' => '',
4
-		'Steam Settings' => '',
5
-		'Steam Widget URL:' => '',
6
-		'<strong>Steam</strong> module configuration' => '',
7
-		'Save' => '',
8
-	];
2
+    return [
3
+        '<strong>Steam</strong>' => '',
4
+        'Steam Settings' => '',
5
+        'Steam Widget URL:' => '',
6
+        '<strong>Steam</strong> module configuration' => '',
7
+        'Save' => '',
8
+    ];
Please login to merge, or discard this patch.