@@ -40,8 +40,8 @@ |
||
| 40 | 40 | protected function execute(InputInterface $input, OutputInterface $output) |
| 41 | 41 | { |
| 42 | 42 | /** |
| 43 | - * set context inside container |
|
| 44 | - */ |
|
| 43 | + * set context inside container |
|
| 44 | + */ |
|
| 45 | 45 | $this->container->register(new LoggerProvider($output)); |
| 46 | 46 | |
| 47 | 47 | $parser = new ParseExpertConfig(); |
@@ -47,8 +47,9 @@ |
||
| 47 | 47 | |
| 48 | 48 | $this->command = new ConfigExpertCommand($container); |
| 49 | 49 | |
| 50 | - if (!defined('ROOT_PATH')) |
|
| 51 | - define('ROOT_PATH', realpath(__DIR__.'/../')); |
|
| 50 | + if (!defined('ROOT_PATH')) { |
|
| 51 | + define('ROOT_PATH', realpath(__DIR__.'/../')); |
|
| 52 | + } |
|
| 52 | 53 | } |
| 53 | 54 | |
| 54 | 55 | public function testFailedParsing() |
@@ -16,8 +16,9 @@ |
||
| 16 | 16 | { |
| 17 | 17 | public function test() |
| 18 | 18 | { |
| 19 | - if (!defined('ROOT_PATH')) |
|
| 20 | - define('ROOT_PATH', realpath(__DIR__.'/../')); |
|
| 19 | + if (!defined('ROOT_PATH')) { |
|
| 20 | + define('ROOT_PATH', realpath(__DIR__.'/../')); |
|
| 21 | + } |
|
| 21 | 22 | |
| 22 | 23 | $container = new Container(); |
| 23 | 24 | $command = new ValidateExpertCommand($container); |
@@ -29,8 +29,9 @@ |
||
| 29 | 29 | */ |
| 30 | 30 | public function test($filePath, $exception = null) |
| 31 | 31 | { |
| 32 | - if (!defined('ROOT_PATH')) |
|
| 33 | - define('ROOT_PATH', realpath(__DIR__.'/../')); |
|
| 32 | + if (!defined('ROOT_PATH')) { |
|
| 33 | + define('ROOT_PATH', realpath(__DIR__.'/../')); |
|
| 34 | + } |
|
| 34 | 35 | |
| 35 | 36 | $parser = new ParseExpertConfig(); |
| 36 | 37 | |