<p dir="auto">Hi,</p>
<p dir="auto">I was expecting that an environment variable (eg: SYMFONY__VAR) would have precedence instead of the same var defined inside the parameters.yml file.</p>
<p dir="auto">Instead, if the parameters.yml defines a var with the same name of an environment variable, the last one is ignored.</p>
<p dir="auto">I want to use the SYMFONY__* env variables that are detected in <code class="notranslate">Kernel</code> are overwritten by parameters of the same name in <code class="notranslate">parameters.yml</code> for example.</p>
<p dir="auto">However i would suppose using the environment variables is a mechanism to overwrite the parameters.yml in production, so exactly the other way around.</p>
<p dir="auto">Is the current behavior there for a reason? It doesn't make much sense to me.</p>