Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use getenv() function instead of $_ENV global variable. (#1887)
* ComposerTask: update code & doc #1163 * refactor(PropertyTask): Use getenv() function instead of $_ENV global variable. The PropertyTask's "environment" attribute fails to work as expected in some systems, sometimes $_ENV is an empty array. This behavior is system-dependent and determined by the "variables_order" directive in php.ini. To fix this I replaced $_ENV by getenv() function, as this ensures a consistent behaviour. * https://www.php.net/manual/en/ini.core.php#ini.variables-order * https://stackoverflow.com/questions/8798294/getenv-vs-env-in-php
- Loading branch information