@@ -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)); |
@@ -92,6 +92,6 @@ |
||
| 92 | 92 | return true; |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | - throw new RuntimeException(sprintf('A file %s is not readable or not exists'. $path)); |
|
| 95 | + throw new RuntimeException(sprintf('A file %s is not readable or not exists'.$path)); |
|
| 96 | 96 | } |
| 97 | 97 | } |