@@ -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 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | interface ValueResolverInterface |
6 | 6 | { |
7 | 7 | const INVALID_PREG = '/(^(\')+[a-z]+$)|(^[a-z]+(\')$)|(^(\")+[a-z]+$)|(^[a-z]+(\")$)/u'; |
8 | - const CLOSERS = '/^[\'"](.*)[\'"]/i'; |
|
8 | + const CLOSERS = '/^[\'"](.*)[\'"]/i'; |
|
9 | 9 | const CLOSURE_MATCH = '/\"(.*)\s+(.*)\"/i'; |
10 | 10 | |
11 | 11 | const EXPLODE_COMMENTS = '/(?=(^(.*))[ ](?=#[ a-z0-9]+))|(?=(^(.*))+)/i'; |
@@ -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 | echo 'PATH: '.$this->tmpPathEnv.PHP_EOL; |
23 | 23 |