Skip to content

Commit a06eb4c

Browse files
authored
Fix codestyle (#572)
1 parent 6b088c9 commit a06eb4c

36 files changed

+68
-49
lines changed

backend/config/main.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
$params = array_merge(
34
require __DIR__ . '/../../common/config/params.php',
45
require __DIR__ . '/../../common/config/params-local.php',

backend/config/params.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
return [
34
'adminEmail' => '[email protected]',
45
];

backend/config/test.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
return [
34
'id' => 'app-backend-tests',
45
'components' => [

backend/tests/_data/login_data.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
return [
34
[
45
'username' => 'erau',

backend/tests/_support/FunctionalTester.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
class FunctionalTester extends \Codeception\Actor
2121
{
2222
use _generated\FunctionalTesterActions;
23-
/**
24-
* Define custom actions here
25-
*/
23+
/**
24+
* Define custom actions here
25+
*/
2626
}

backend/tests/_support/UnitTester.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
class UnitTester extends \Codeception\Actor
2121
{
2222
use _generated\UnitTesterActions;
23-
/**
24-
* Define custom actions here
25-
*/
23+
/**
24+
* Define custom actions here
25+
*/
2626
}

backend/tests/functional/LoginCest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function _fixtures()
2626
]
2727
];
2828
}
29-
29+
3030
/**
3131
* @param FunctionalTester $I
3232
*/

backend/tests/functional/_bootstrap.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Here you can initialize variables via \Codeception\Util\Fixtures class
45
* to store data in global array and use it in Cests.
@@ -13,4 +14,4 @@
1314
* ```php
1415
* \Codeception\Util\Fixtures::get('user1');
1516
* ```
16-
*/
17+
*/

backend/tests/unit/_bootstrap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Here you can initialize variables via \Codeception\Util\Fixtures class
45
* to store data in global array and use it in Tests.

common/config/__autocomplete.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,25 @@
1111
* }
1212
* ```
1313
*/
14-
class Yii {
14+
class Yii
15+
{
1516
/**
1617
* @var \yii\web\Application|\yii\console\Application|__Application
1718
*/
1819
public static $app;
1920
}
2021

2122
/**
22-
* @property yii\rbac\DbManager $authManager
23+
* @property yii\rbac\DbManager $authManager
2324
* @property \yii\web\User|__WebUser $user
24-
*
2525
*/
26-
class __Application {
26+
class __Application
27+
{
2728
}
2829

2930
/**
3031
* @property app\models\User $identity
3132
*/
32-
class __WebUser {
33+
class __WebUser
34+
{
3335
}

0 commit comments

Comments
 (0)