adelf / idea-php-dotenv-plugin

environment parameters completion, based on .env file keys
MIT License
166 stars 13 forks source link

Should allow declaring an array in ENV file #69

Closed arafatx closed 3 years ago

arafatx commented 3 years ago

Declaring an array using this form:

array=("test1" "test2" "test3")

Will produce a warning, with the following text:

Space inside allowed only for quoted values

Expected output:

Shouldn't have this warning because it's a valid array and sourcing the file containing this form of array has no issue.

Thanks.

adelf commented 3 years ago

What library supports arrays?

arafatx commented 3 years ago

I think I have overused this ENV with bash sourcing and thinking it should support an array. ENV file shouldn't have array complexity. Please ignore this request.