.env into env_file for parsed compose services/applicationsenv_file entries from user composeDocker Compose semantics treat .env as interpolation input, not implicit runtime env injection for every service. Auto-injecting .env can leak variables into containers that never opted in.
This PR is intentionally minimal and only contains #7655-related parser/test changes.
php -l bootstrap/helpers/parsers.phpphp -l tests/Unit/ComposeEnvFileSemanticsTest.phptests/Unit/ComposeEnvFileSemanticsTest.php covers:
env_file behavior->push('.env')N/A - internal parser behavior change; no user-facing service template/docs page changes.
/claim #7655
1312e
@1312e
Tom Adamczewski
@tadamcz