Skip to content

allow completely empty configuration #49

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
Mar 3, 2018
Merged

allow completely empty configuration #49

merged 1 commit into from
Mar 3, 2018

Conversation

dbu
Copy link
Contributor

@dbu dbu commented Mar 2, 2018

i have a configuration test where i test that a completely empty configuration is accepted. this test started failing when i updated vendors: https://github.com/FriendsOfSymfony/FOSHttpCacheBundle/blob/187362f0377bf272473fd3bbf113195939ebab82/tests/Unit/DependencyInjection/ConfigurationTest.php#L33

i investigated what the configuration is, and instead of an array there is false in the array. with this change, the test works for me.

i don't know exactly where this is coming from or if its a behaviour change for empty configuration in symfony.

@dbu
Copy link
Contributor Author

dbu commented Mar 2, 2018

styleci fail seems unrelated to my change.

@Nyholm
Copy link
Member

Nyholm commented Mar 2, 2018

Thank you for this PR.
You are correct. It is related to this PR (I think) symfony/symfony#25891

@Nyholm Nyholm merged commit 00c301f into SymfonyTest:master Mar 3, 2018
@dbu
Copy link
Contributor Author

dbu commented Mar 5, 2018

could you please tag a new release with this fix?

@Nyholm
Copy link
Member

Nyholm commented Mar 5, 2018

I will release 3.1.1 and 4.0 with this fix. Ill try to do it later today.

We've already merged some BC breaking changes to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants