-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[WebProfilerBundle] Expose dotenv variables #25166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I like that idea 👍 |
3.4 is bugfix only now |
@nicolas-grekas why did you approve it then? 😛 |
To let others resolve this :) |
@ro0NL Looks like we need a rebase now. :) |
@ro0NL Can you rebase on current master? |
Done. Perhaps both h4 headings added need some thought for better naming. |
…(ro0NL) This PR was merged into the 3.4 branch. Discussion ---------- [FrameworkBundle] Rename getDotEnvVars to getDotenvVars | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #... <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | symfony/symfony-docs#... <!--highly recommended for new features--> For consistency with #25166 :) Commits ------- de137d2 [FrameworkBundle] Rename getDotEnvVars to getDotenvVars
@@ -167,7 +167,15 @@ | |||
{% endif %} | |||
|
|||
<h3>Server Parameters</h3> | |||
{{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.requestserver }, with_context = false) }} | |||
<h4>Managed by Symfony Dotenv</h4> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Defined in .env
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets go from there yes. Now updated.
<h4>Managed by Symfony Dotenv</h4> | ||
{{ include('@WebProfiler/Profiler/bag.html.twig', { bag: collector.dotenvvars }, with_context = false) }} | ||
|
||
<h4>Standard variables</h4> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Defined as regular env variables
?
Thank you @ro0NL. |
This PR was squashed before being merged into the 4.1-dev branch (closes #25166). Discussion ---------- [WebProfilerBundle] Expose dotenv variables | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes/no | Fixed tickets | #23951 | License | MIT | Doc PR | symfony/symfony-docs#... <!--highly recommended for new features--> Variant of #23951  Commits ------- de33d87 [WebProfilerBundle] Expose dotenv variables
Variant of #23951