Skip to content
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

[DependencyInjection] allow null values for root nodes in YAML configs #25891

Merged
merged 1 commit into from
Jan 23, 2018

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Jan 22, 2018

Q A
Branch? 2.7
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #25760
License MIT
Doc PR

@mateuszsip
Copy link
Contributor

awesome, thanks!

@fabpot
Copy link
Member

fabpot commented Jan 23, 2018

Thank you @xabbuh.

@fabpot fabpot merged commit 52dd825 into symfony:2.7 Jan 23, 2018
fabpot added a commit that referenced this pull request Jan 23, 2018
…YAML configs (xabbuh)

This PR was merged into the 2.7 branch.

Discussion
----------

[DependencyInjection] allow null values for root nodes in YAML configs

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #25760
| License       | MIT
| Doc PR        |

Commits
-------

52dd825 allow null values for root nodes in YAML configs
@xabbuh xabbuh deleted the issue-25760 branch January 23, 2018 07:28
@Nyholm
Copy link
Member

Nyholm commented Feb 4, 2018

This PR caused a build failure at HttplugBundle.

There is a test that tests for empty configuration. The following config will be treated as null and our tests fails because empty configuration should be an array.

httplug:

This is just an FYI in case this was missed in the review process. Im happy to rewrite the tests to if this was the intention.

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.

5 participants