Env icon indicating copy to clipboard operation
Env copied to clipboard

Strict parsing mode

Open josegonzalez opened this issue 8 years ago • 5 comments

We should have a strict parsing mode for .env files, specifically around general variable assignment.

josegonzalez avatar Jan 11 '17 22:01 josegonzalez

Yeah I remember us discussing this months ago, do you remember the exact details?

m1 avatar Jan 12 '17 08:01 m1

This: https://github.com/m1/Env#assignment

One of the reasons symfony wrote their own .env parser - lol - is because you have a loose interpretation of variable assignment.

josegonzalez avatar Jan 12 '17 08:01 josegonzalez

Is it just the loose variable assignment that needs to be changed for the strict mode?

m1 avatar Jan 12 '17 09:01 m1

I'd imagine so, though there might be more.

josegonzalez avatar Jan 12 '17 16:01 josegonzalez

Okay cool, I'll try and do it this weekend :+1:

m1 avatar Jan 13 '17 12:01 m1