JetBrains / idea-php-dotenv-plugin

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

Inspection should not warn about spaces inside single quotes #98

Closed ashaduri closed 2 years ago

ashaduri commented 3 years ago

The following entry in .env triggers an inspection warning about "Space inside allowed only for quoted values":

NAME='Some Value'

For some reason, the plugin expects double quotes, even though single quotes are usually preferred to avoid accidental variable expansion.

Using vlucas/phpdotenv and idea plugin version 2021.3.0.212.

Thanks!