| @@ -55,7 +55,7 @@ | ||
| 55 | 55 | public function get($key, $default = null) | 
| 56 | 56 |      { | 
| 57 | 57 |          if ($this->isNested()) { | 
| 58 | - $key = $this->parentKey.'.'.$key; | |
| 58 | + $key = $this->parentKey . '.' . $key; | |
| 59 | 59 | } | 
| 60 | 60 | |
| 61 | 61 | return $this->config->get($key, $default); | 
| @@ -18,7 +18,7 @@ discard block | ||
| 18 | 18 |      { | 
| 19 | 19 | $parser = new JsonFileParser(); | 
| 20 | 20 | |
| 21 | - $path = __DIR__.'/../../fixtures/parser/valid.json'; | |
| 21 | + $path = __DIR__ . '/../../fixtures/parser/valid.json'; | |
| 22 | 22 | |
| 23 | 23 | $expected = [ | 
| 24 | 24 | 'name' => 'Glenn', | 
| @@ -45,7 +45,7 @@ discard block | ||
| 45 | 45 | |
| 46 | 46 | $parser = new JsonFileParser(); | 
| 47 | 47 | |
| 48 | - $path = __DIR__.'/../../fixtures/parser/invalid_single-quotes.json'; | |
| 48 | + $path = __DIR__ . '/../../fixtures/parser/invalid_single-quotes.json'; | |
| 49 | 49 | |
| 50 | 50 | $parser->parse($path); | 
| 51 | 51 | } | 
| @@ -61,7 +61,7 @@ discard block | ||
| 61 | 61 | |
| 62 | 62 | $parser = new JsonFileParser(); | 
| 63 | 63 | |
| 64 | - $path = __DIR__.'/../../fixtures/parser/invalid_trailing-comma.json'; | |
| 64 | + $path = __DIR__ . '/../../fixtures/parser/invalid_trailing-comma.json'; | |
| 65 | 65 | |
| 66 | 66 | $parser->parse($path); | 
| 67 | 67 | } | 
| @@ -27,7 +27,7 @@ discard block | ||
| 27 | 27 | ], | 
| 28 | 28 | ]; | 
| 29 | 29 | |
| 30 | - $data = file_get_contents(__DIR__.'/../../fixtures/parser/valid.json'); | |
| 30 | + $data = file_get_contents(__DIR__ . '/../../fixtures/parser/valid.json'); | |
| 31 | 31 | |
| 32 | 32 | $json = $parser->parse($data); | 
| 33 | 33 | |
| @@ -45,7 +45,7 @@ discard block | ||
| 45 | 45 | |
| 46 | 46 | $parser = new JsonParser(); | 
| 47 | 47 | |
| 48 | - $data = file_get_contents(__DIR__.'/../../fixtures/parser/invalid_single-quotes.json'); | |
| 48 | + $data = file_get_contents(__DIR__ . '/../../fixtures/parser/invalid_single-quotes.json'); | |
| 49 | 49 | |
| 50 | 50 | $parser->parse($data); | 
| 51 | 51 | } | 
| @@ -61,7 +61,7 @@ discard block | ||
| 61 | 61 | |
| 62 | 62 | $parser = new JsonParser(); | 
| 63 | 63 | |
| 64 | - $data = file_get_contents(__DIR__.'/../../fixtures/parser/invalid_trailing-comma.json'); | |
| 64 | + $data = file_get_contents(__DIR__ . '/../../fixtures/parser/invalid_trailing-comma.json'); | |
| 65 | 65 | |
| 66 | 66 | $parser->parse($data); | 
| 67 | 67 | } |