@@ -32,13 +32,13 @@ |
||
32 | 32 | $dotenv->required('YII_DEBUG', ['', '0', '1', 'true', true]); |
33 | 33 | $dotenv->required('YII_ENV', ['dev', 'prod', 'test']); |
34 | 34 | $dotenv->required([ |
35 | - 'YII_TRACE_LEVEL', |
|
36 | - 'APP_NAME', |
|
37 | - 'APP_TITLE', |
|
38 | - 'APP_ADMIN_EMAIL', |
|
39 | - 'APP_LANGUAGES', |
|
40 | - 'APP_COOKIE_VALIDATION_KEY', |
|
41 | - ])->notEmpty(); |
|
35 | + 'YII_TRACE_LEVEL', |
|
36 | + 'APP_NAME', |
|
37 | + 'APP_TITLE', |
|
38 | + 'APP_ADMIN_EMAIL', |
|
39 | + 'APP_LANGUAGES', |
|
40 | + 'APP_COOKIE_VALIDATION_KEY', |
|
41 | + ])->notEmpty(); |
|
42 | 42 | |
43 | 43 | // Additional validations |
44 | 44 | if (!preg_match('/^[a-z0-9_-]{2,16}$/', getenv('APP_NAME'))) { |
@@ -16,9 +16,9 @@ |
||
16 | 16 | // Codeception testing routes |
17 | 17 | if (YII_ENV_TEST && file_exists($rootPath . '/tests/codeception/c3.php')) { |
18 | 18 | define('C3_CODECOVERAGE_ERROR_LOG_FILE', |
19 | - getenv('C3_CODECOVERAGE_ERROR_LOG_FILE')); //Optional (if not set the default c3 output dir will be used) |
|
19 | + getenv('C3_CODECOVERAGE_ERROR_LOG_FILE')); //Optional (if not set the default c3 output dir will be used) |
|
20 | 20 | define('C3_CODECEPTION_CONFIG_PATH', |
21 | - getenv('C3_CODECEPTION_CONFIG_PATH')); //Optional (if not set the default c3 output dir will be used) |
|
21 | + getenv('C3_CODECEPTION_CONFIG_PATH')); //Optional (if not set the default c3 output dir will be used) |
|
22 | 22 | require_once $rootPath . '/tests/codeception/c3.php'; |
23 | 23 | } |
24 | 24 |