Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[DI] Avoid leaking unused env placeholders #27681

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

Merged
merged 1 commit into from
Jun 23, 2018
Merged

[DI] Avoid leaking unused env placeholders #27681

merged 1 commit into from
Jun 23, 2018

Conversation

ro0NL
Copy link
Contributor

@ro0NL ro0NL commented Jun 22, 2018

Q A
Branch? 4.1
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #27486
License MIT
Doc PR symfony/symfony-docs#...

This PR avoids leaking out unused env placeholders, those are not resolved in resolveEnvPlaceholders() and such. As a result they are dumped as-is.

cc @nicolas-grekas

@ro0NL
Copy link
Contributor Author

ro0NL commented Jun 22, 2018

Hm tests are failing.

Status: needs work

@ro0NL
Copy link
Contributor Author

ro0NL commented Jun 22, 2018

Tests added.

Status: needs review

@nicolas-grekas
Copy link
Member

Thank you @ro0NL.

@nicolas-grekas nicolas-grekas merged commit 41f8494 into symfony:4.1 Jun 23, 2018
nicolas-grekas added a commit that referenced this pull request Jun 23, 2018
This PR was merged into the 4.1 branch.

Discussion
----------

[DI] Avoid leaking unused env placeholders

| Q             | A
| ------------- | ---
| Branch?       | 4.1
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #27486
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

This PR avoids leaking out unused env placeholders, those are not resolved in `resolveEnvPlaceholders()` and such. As a result they are dumped as-is.

cc @nicolas-grekas

Commits
-------

41f8494 [DI] Avoid leaking unused env placeholders
@ro0NL ro0NL deleted the di/env branch June 23, 2018 07:49
@fabpot fabpot mentioned this pull request Jun 25, 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.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.