I currently use "m1/vars": "~1.1"; how can I pass a null/empty env variable?
For example, I have the following settings:
.env file:
DB_PASSWORD=
settings.yml:
password: '%^DB_PASSWORD%'
Setting this will raise a following exception:
An uncaught Exception was encountered
Type: InvalidArgumentException
Message: Variable has not been defined as a DB_PASSWORD: env
Filename: C:\wamp\www\outsource\ci3ng\src\vendor\m1\vars\src\Variables\VariableProvider.php
Line Number: 179
Backtrace:
File: C:\wamp\www\outsource\ci3ng\src\vendor\m1\vars\src\Variables\VariableProvider.php
Line: 152
Function: checkVariableExists
I currently use "m1/vars": "~1.1"; how can I pass a null/empty env variable?
For example, I have the following settings:
.env file:
DB_PASSWORD=
settings.yml:
password: '%^DB_PASSWORD%'
Setting this will raise a following exception:
An uncaught Exception was encountered
Type: InvalidArgumentException
Message: Variable has not been defined as a
DB_PASSWORD: envFilename: C:\wamp\www\outsource\ci3ng\src\vendor\m1\vars\src\Variables\VariableProvider.php
Line Number: 179
Backtrace:
File: C:\wamp\www\outsource\ci3ng\src\vendor\m1\vars\src\Variables\VariableProvider.php
Line: 152
Function: checkVariableExists