@@ -37,13 +37,13 @@ |
||
37 | 37 | $jsonText = \file_get_contents($this->filename); |
38 | 38 | |
39 | 39 | if (false === $jsonText) { |
40 | - throw new InvalidArgumentException('Cannot read configuration file ' . $this->filename . '.'); |
|
40 | + throw new InvalidArgumentException('Cannot read configuration file '.$this->filename.'.'); |
|
41 | 41 | } |
42 | 42 | |
43 | 43 | $jsonData = \json_decode($jsonText, true); |
44 | 44 | |
45 | 45 | if (false === $jsonData) { |
46 | - throw new InvalidArgumentException('Bad json file ' . $this->filename . '.'); |
|
46 | + throw new InvalidArgumentException('Bad json file '.$this->filename.'.'); |
|
47 | 47 | } |
48 | 48 | |
49 | 49 | $config->fromArray($this->collapse($jsonData)); |
@@ -37,7 +37,7 @@ |
||
37 | 37 | public static function createFromFileName($filename) |
38 | 38 | { |
39 | 39 | if (!\is_readable($filename)) { |
40 | - throw new InvalidArgumentException('Cannot read configuration file ' . $filename . '.'); |
|
40 | + throw new InvalidArgumentException('Cannot read configuration file '.$filename.'.'); |
|
41 | 41 | } |
42 | 42 | |
43 | 43 | $ext = static::checkAllowed(\pathinfo($filename, \PATHINFO_EXTENSION)); |
@@ -78,7 +78,7 @@ |
||
78 | 78 | $metrics = new Metrics(); |
79 | 79 | |
80 | 80 | // traverse all |
81 | - $whenToStop = function () { |
|
81 | + $whenToStop = function() { |
|
82 | 82 | return true; |
83 | 83 | }; |
84 | 84 |