@@ -14,7 +14,7 @@ |
||
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 |
@@ -22,7 +22,7 @@ |
||
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; |
@@ -25,7 +25,7 @@ |
||
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); |
@@ -21,7 +21,7 @@ |
||
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 | } |
@@ -5,7 +5,7 @@ |
||
5 | 5 | class UnitTester extends \UnitTester |
6 | 6 | { |
7 | 7 | use _generated\UnitTesterActions; |
8 | - /** |
|
9 | - * Define custom actions here |
|
10 | - */ |
|
8 | + /** |
|
9 | + * Define custom actions here |
|
10 | + */ |
|
11 | 11 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | class AcceptanceTester extends \AcceptanceTester |
21 | 21 | { |
22 | 22 | use _generated\AcceptanceTesterActions; |
23 | - /** |
|
24 | - * Define custom actions here |
|
25 | - */ |
|
23 | + /** |
|
24 | + * Define custom actions here |
|
25 | + */ |
|
26 | 26 | } |
@@ -10,10 +10,10 @@ |
||
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); |