@@ -40,7 +40,7 @@ public function getEnvDataWithFormatErrors()
4040 ['FOO ' , "Missing = in the environment variable declaration in \".env \" at line 1. \n...FOO... \n ^ line 1 offset 3 " ],
4141 ['FOO="foo ' , "Missing quote to end the value in \".env \" at line 1. \n...FOO= \"foo... \n ^ line 1 offset 8 " ],
4242 ['FOO= \'foo ' , "Missing quote to end the value in \".env \" at line 1. \n...FOO='foo... \n ^ line 1 offset 8 " ],
43- ['FOO= \'foo ' ."\n" , "Missing quote to end the value in \".env \" at line 1. \n...FOO='foo \\n... \n ^ line 1 offset 8 " ],
43+ ['FOO= \'foo ' ."\n" , "Missing quote to end the value in \".env \" at line 1. \n...FOO='foo \\n... \n ^ line 1 offset 9 " ],
4444 ['export FOO ' , "Unable to unset an environment variable in \".env \" at line 1. \n...export FOO... \n ^ line 1 offset 10 " ],
4545 ['FOO=${FOO ' , "Unclosed braces on variable expansion in \".env \" at line 1. \n...FOO= \${FOO... \n ^ line 1 offset 9 " ],
4646 ['FOO= BAR ' , "Whitespace are not supported before the value in \".env \" at line 1. \n...FOO= BAR... \n ^ line 1 offset 4 " ],
@@ -112,6 +112,7 @@ public function getEnvData()
112112 ['FOO="bar\rfoo" ' , ['FOO ' => "bar \rfoo " ]],
113113 ['FOO= \'bar\nfoo \'' , ['FOO ' => 'bar\nfoo ' ]],
114114 ['FOO= \'bar\rfoo \'' , ['FOO ' => 'bar\rfoo ' ]],
115+ ["FOO='bar \nfoo' " , ['FOO ' => "bar \nfoo " ]],
115116 ['FOO=" FOO " ' , ['FOO ' => ' FOO ' ]],
116117 ['FOO=" " ' , ['FOO ' => ' ' ]],
117118 ['PATH="c: \\\\" ' , ['PATH ' => 'c: \\' ]],
0 commit comments