Completed
Push — master ( 785d14...454e0b )
by Sarah
01:20
created
controllers/AdminController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
         $model = new ConfigureForm();
15 15
         $model->loadSettings();
16 16
 
17
-        if ($model->load(Yii::$app->request->post()) && $model->save()) {
17
+        if ( $model->load(Yii::$app->request->post()) && $model->save() ) {
18 18
             $this->view->saved();
19 19
         }
20 20
 
Please login to merge, or discard this patch.
Module.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 getServerUrl()
23 23
     {
24 24
         $url = $this->settings->get('serverUrl');
25
-        if (empty($url)) {
25
+        if ( empty($url) ) {
26 26
             return 'https://discordapp.com';
27 27
         }
28 28
         return $url;
Please login to merge, or discard this patch.
Events.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 
26 26
     public static function addDiscordappFrame($event)
27 27
     {
28
-        if (Yii::$app->user->isGuest) {
28
+        if ( Yii::$app->user->isGuest ) {
29 29
             return;
30 30
         }
31 31
         $event->sender->view->registerAssetBundle(Assets::class);
Please login to merge, or discard this patch.
tests/codeception/_bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,10 +10,10 @@
 block discarded – undo
10 10
 codecept_debug('Module root: ' . $testRoot);
11 11
 
12 12
 $humhubPath = getenv('HUMHUB_PATH');
13
-if ($humhubPath === false) {
13
+if ( $humhubPath === false ) {
14 14
     // If no environment path was set, we assume residing in default the modules directory
15 15
     $moduleConfig = require $testRoot . '/config/test.php';
16
-    if (isset($moduleConfig['humhub_root'])) {
16
+    if ( isset($moduleConfig['humhub_root']) ) {
17 17
         $humhubPath = $moduleConfig['humhub_root'];
18 18
     } else {
19 19
         $humhubPath = dirname(__DIR__, 5);
Please login to merge, or discard this patch.
tests/codeception/acceptance/DiscordappCest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace discordapp\acceptance;
4 4
 
5
-use discordapp\AcceptanceTester;
6
-
7 5
 class DiscordappCest
8 6
 {
9 7
 
Please login to merge, or discard this patch.
tests/_support/AcceptanceTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 {
20 20
     use _generated\AcceptanceTesterActions;
21 21
 
22
-   /**
23
-    * Define custom actions here
24
-    */
22
+    /**
23
+     * Define custom actions here
24
+     */
25 25
 }
Please login to merge, or discard this patch.
tests/_support/UnitTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 {
20 20
     use _generated\UnitTesterActions;
21 21
 
22
-   /**
23
-    * Define custom actions here
24
-    */
22
+    /**
23
+     * Define custom actions here
24
+     */
25 25
 }
Please login to merge, or discard this patch.
tests/_support/FunctionalTester.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 {
22 22
     use _generated\FunctionalTesterActions;
23 23
     
24
-   /**
25
-    * Define custom actions here
26
-    */
24
+    /**
25
+     * Define custom actions here
26
+     */
27 27
 }
Please login to merge, or discard this patch.