Fedir Zinchuk

Results 332 comments of Fedir Zinchuk

Correct, but that is incomplete implementation. This PR is alternative to that.

> Both can be disabled in php.ini, but the $_ENV is disabled by default I tested on PHP 8.1 and 8.4, `$_ENV` is always present but unpopulated, with `variables_order =...

I added code to check for empty `ENV`. > It would be a BC break, because the symfony/dotenv works slightly different. It merges .env files, but the vlucas/phpdotenv doesn't change...

> Can you move this code block upward outside the if statement? Without it real environment variables won't work if .env file is not present and $_ENV is disabled. This...

> what's the difference between .env and .env.dev? First one is for production, second one for development. Or whatever User decide. It is kind of look up list for which...

It is good as it is. Can be updated any time later.

Correct. If you have set your server to enable `$_ENV`, and add `JOOMLA_*` environment variables from there, it will be also enabled.

About web access to the env file, I think it is valid concern. Even though the feature meant to be for people who know thing or two about what they...

@dautrich can you share the .env file you use for CLI? without private data, replace it to random strings. and how did you applied the PR changes for test?