Join GitHub today
[HttpKernel] Normalize "SYMFONY__" environment parameters #18905
I'm currently working on a Symfony 2.8 based project where i ran into an issue using a .env file and vlucas/phpdotenv for setting the environment parameters. For now it's not possible to use a boolean or numeric parameter in the .env file because those parameters aren't normalized and always will be a string.
I'm not quiet sure if that is a problem that should be fixed in vlucas/phpdotenv or a feature that should be added to the HttpKernel; especially for a 12-factor app?
I created a fork of the standard edition to recreate the problem. Just remove the call of my
I also would be very glad if someone has a better way solving my problem :-)