@@ -1,4 +1,4 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -$loader = require __DIR__.'/../../vendor/autoload.php'; |
|
| 4 | -require __DIR__.'/AppKernel.php'; |
|
| 3 | +$loader = require __DIR__ . '/../../vendor/autoload.php'; |
|
| 4 | +require __DIR__ . '/AppKernel.php'; |
|
@@ -54,16 +54,16 @@ |
||
| 54 | 54 | |
| 55 | 55 | public function getCacheDir() |
| 56 | 56 | { |
| 57 | - return $this->getRootDir().'/var/cache/'.$this->getEnvironment(); |
|
| 57 | + return $this->getRootDir() . '/var/cache/' . $this->getEnvironment(); |
|
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | public function getLogDir() |
| 61 | 61 | { |
| 62 | - return $this->getRootDir().'/var/logs'; |
|
| 62 | + return $this->getRootDir() . '/var/logs'; |
|
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | public function registerContainerConfiguration(LoaderInterface $loader) |
| 66 | 66 | { |
| 67 | - $loader->load($this->getRootDir().'/config/config_'.$this->getEnvironment().'.yml'); |
|
| 67 | + $loader->load($this->getRootDir() . '/config/config_' . $this->getEnvironment() . '.yml'); |
|
| 68 | 68 | } |
| 69 | 69 | } |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | umask(0000); |
| 6 | 6 | |
| 7 | -require __DIR__.'/../autoload.php'; |
|
| 7 | +require __DIR__ . '/../autoload.php'; |
|
| 8 | 8 | $kernel = new AppKernel('test', true); |
| 9 | 9 | $request = Request::createFromGlobals(); |
| 10 | 10 | $response = $kernel->handle($request); |