Skip to content

[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

Closed
wants to merge 2 commits into from
Closed

[WebProfilerBundle] Expose dotenv variables #25166

wants to merge 2 commits into from

Conversation

ro0NL
Copy link
Contributor

@ro0NL ro0NL commented Nov 26, 2017

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#...

Variant of #23951

image

@sroze
Copy link
Contributor

sroze commented Nov 26, 2017

I like that idea 👍

@nicolas-grekas nicolas-grekas added this to the 3.4 milestone Nov 27, 2017
@nicolas-grekas
Copy link
Member

3.4 is bugfix only now

@sroze
Copy link
Contributor

sroze commented Nov 27, 2017

@nicolas-grekas why did you approve it then? 😛

@nicolas-grekas
Copy link
Member

To let others resolve this :)

@chalasr chalasr modified the milestones: 3.4, 4.1 Nov 27, 2017
@xabbuh xabbuh changed the base branch from 3.4 to master November 27, 2017 14:17
@xabbuh
Copy link
Member

xabbuh commented Nov 27, 2017

@ro0NL Looks like we need a rebase now. :)

@fabpot
Copy link
Member

fabpot commented Dec 1, 2017

@ro0NL Can you rebase on current master?

@ro0NL
Copy link
Contributor Author

ro0NL commented Dec 1, 2017

Done. Perhaps both h4 headings added need some thought for better naming.

fabpot added a commit that referenced this pull request Dec 1, 2017
…(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>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Defined in .env?

Copy link
Contributor Author

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>
Copy link
Member

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?

@fabpot
Copy link
Member

fabpot commented Dec 1, 2017

Thank you @ro0NL.

@fabpot fabpot closed this Dec 1, 2017
fabpot added a commit that referenced this pull request Dec 1, 2017
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

![image](https://user-images.githubusercontent.com/1047696/33243493-a6c94484-d2e7-11e7-9cfc-4a886d013f8b.png)

Commits
-------

de33d87 [WebProfilerBundle] Expose dotenv variables
@ro0NL ro0NL deleted the profiler/dotenv branch December 1, 2017 17:48
@fabpot fabpot mentioned this pull request May 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants