@@ -97,6 +97,6 @@ |
||
97 | 97 | return true; |
98 | 98 | } |
99 | 99 | |
100 | - throw new RuntimeException(sprintf('A file %s is not readable or not exists'. $path)); |
|
100 | + throw new RuntimeException(sprintf('A file %s is not readable or not exists'.$path)); |
|
101 | 101 | } |
102 | 102 | } |
103 | 103 | \ No newline at end of file |
@@ -77,7 +77,7 @@ |
||
77 | 77 | |
78 | 78 | private function trimBackslashes($result) |
79 | 79 | { |
80 | - $result = preg_replace('/\\\\/', '\\', $result); |
|
80 | + $result = preg_replace('/\\\\/', '\\', $result); |
|
81 | 81 | |
82 | 82 | return stripslashes($result); |
83 | 83 | } |
@@ -17,7 +17,7 @@ |
||
17 | 17 | |
18 | 18 | protected function setUp() |
19 | 19 | { |
20 | - $this->tmpPathEnv = sys_get_temp_dir() . self::DS . 'EnveditorTestEnv.env'; |
|
20 | + $this->tmpPathEnv = sys_get_temp_dir().self::DS.'EnveditorTestEnv.env'; |
|
21 | 21 | |
22 | 22 | if (!touch($this->tmpPathEnv)) { |
23 | 23 | throw new \RuntimeException(sprintf('A test failed. Could not write a file to "%s" path', $this->tmpPathEnv)); |
@@ -12,4 +12,4 @@ |
||
12 | 12 | * Autoloader |
13 | 13 | */ |
14 | 14 | // require __DIR__.'../../../../../vendor/autoload.php'; |
15 | -require __DIR__ .'/../../../vendor/autoload.php'; |
|
15 | +require __DIR__.'/../../../vendor/autoload.php'; |
@@ -4,7 +4,7 @@ |
||
4 | 4 | |
5 | 5 | interface ValueResolverInterface |
6 | 6 | { |
7 | - const CLOSERS = '/^[\'"](.*)[\'"]/i'; |
|
7 | + const CLOSERS = '/^[\'"](.*)[\'"]/i'; |
|
8 | 8 | const CLOSURE_MATCH = '/\"(.*)\s+(.*)\"/i'; |
9 | 9 | |
10 | 10 | const EXPLODE_COMMENTS = '/(?=(^(.*))[ ](?=#[ a-z0-9]+))|(?=(^(.*))+)/i'; |