@@ -18,30 +18,30 @@ |
||
| 18 | 18 | */ |
| 19 | 19 | public function __construct() |
| 20 | 20 | { |
| 21 | - $this->createErrorHandler(); |
|
| 21 | + $this->createErrorHandler(); |
|
| 22 | 22 | |
| 23 | - $this->createContainer(); |
|
| 23 | + $this->createContainer(); |
|
| 24 | 24 | |
| 25 | - $this->loadEnvironment(); |
|
| 25 | + $this->loadEnvironment(); |
|
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | private function createErrorHandler() |
| 29 | - { |
|
| 30 | - $runner = new Runner(); |
|
| 31 | - $runner->pushFormatter(new JsonFormatter); |
|
| 32 | - $runner->register();asd |
|
| 33 | - } |
|
| 29 | + { |
|
| 30 | + $runner = new Runner(); |
|
| 31 | + $runner->pushFormatter(new JsonFormatter); |
|
| 32 | + $runner->register();asd |
|
| 33 | + } |
|
| 34 | 34 | |
| 35 | 35 | private function createContainer() |
| 36 | - { |
|
| 37 | - $container = new Container; |
|
| 38 | - $container->delegate(new ReflectionContainer); |
|
| 39 | - $this->setContainer($container); |
|
| 40 | - } |
|
| 41 | - |
|
| 42 | - private function loadEnvironment() |
|
| 43 | - { |
|
| 44 | - $environment = new Dotenv(getcwd() . '/../'); |
|
| 45 | - $environment->load(); |
|
| 46 | - } |
|
| 36 | + { |
|
| 37 | + $container = new Container; |
|
| 38 | + $container->delegate(new ReflectionContainer); |
|
| 39 | + $this->setContainer($container); |
|
| 40 | + } |
|
| 41 | + |
|
| 42 | + private function loadEnvironment() |
|
| 43 | + { |
|
| 44 | + $environment = new Dotenv(getcwd() . '/../'); |
|
| 45 | + $environment->load(); |
|
| 46 | + } |
|
| 47 | 47 | } |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | { |
| 30 | 30 | $runner = new Runner(); |
| 31 | 31 | $runner->pushFormatter(new JsonFormatter); |
| 32 | - $runner->register();asd |
|
| 32 | + $runner->register(); asd |
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | private function createContainer() |