@@ -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 | |
@@ -1,26 +1,26 @@  | 
                                                    ||
| 1 | 1 | <?php  | 
                                                        
| 2 | 2 | |
| 3 | 3 | // Prepare environment  | 
                                                        
| 4 | -$rootPath = realpath(__DIR__ . '/..');  | 
                                                        |
| 5 | -require($rootPath . '/vendor/autoload.php');  | 
                                                        |
| 6 | -require($rootPath . '/config/env.php');  | 
                                                        |
| 4 | +$rootPath = realpath(__DIR__.'/..');  | 
                                                        |
| 5 | +require($rootPath.'/vendor/autoload.php');  | 
                                                        |
| 6 | +require($rootPath.'/config/env.php');  | 
                                                        |
| 7 | 7 | |
| 8 | 8 | // Define framework & application constants  | 
                                                        
| 9 | -defined('YII_DEBUG') or define('YII_DEBUG', (boolean)getenv('YII_DEBUG')); | 
                                                        |
| 9 | +defined('YII_DEBUG') or define('YII_DEBUG', (boolean) getenv('YII_DEBUG')); | 
                                                        |
| 10 | 10 |  defined('YII_ENV') or define('YII_ENV', getenv('YII_ENV')); | 
                                                        
| 11 | 11 |  defined('APP_TYPE') or define('APP_TYPE', 'web'); | 
                                                        
| 12 | 12 | |
| 13 | 13 | // Load framework  | 
                                                        
| 14 | -require($rootPath . '/vendor/yiisoft/yii2/Yii.php');  | 
                                                        |
| 14 | +require($rootPath.'/vendor/yiisoft/yii2/Yii.php');  | 
                                                        |
| 15 | 15 | |
| 16 | 16 | // Codeception testing routes  | 
                                                        
| 17 | -if (YII_ENV_TEST && file_exists($rootPath . '/tests/codeception/c3.php')) { | 
                                                        |
| 17 | +if (YII_ENV_TEST && file_exists($rootPath.'/tests/codeception/c3.php')) { | 
                                                        |
| 18 | 18 |      define('C3_CODECOVERAGE_ERROR_LOG_FILE', | 
                                                        
| 19 | 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 | 21 |             getenv('C3_CODECEPTION_CONFIG_PATH')); //Optional (if not set the default c3 output dir will be used) | 
                                                        
| 22 | - require_once $rootPath . '/tests/codeception/c3.php';  | 
                                                        |
| 22 | + require_once $rootPath.'/tests/codeception/c3.php';  | 
                                                        |
| 23 | 23 | }  | 
                                                        
| 24 | 24 | |
| 25 | 25 | // Run application  | 
                                                        
| 26 | -(new yii\web\Application(require($rootPath . '/config/main.php')))->run();  | 
                                                        |
| 26 | +(new yii\web\Application(require($rootPath.'/config/main.php')))->run();  | 
                                                        |