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

Support for writing Config back to a file #122

Merged
merged 12 commits into from
Sep 1, 2019

Conversation

markdegrootnl
Copy link
Contributor

Another implementation to add the ability to write a Config back to file as discussed in #107.

Most of the heavy lifting was already done by @filips123 in https://github.com/filips123/config/tree/writing however my implementation does not contain any breaking changes and comforms with the current state of the project.

@filips123
Copy link
Collaborator

Thank you! I will review your changes this Sunday.

Copy link
Collaborator

@filips123 filips123 left a comment

Choose a reason for hiding this comment

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

Is there any reason why you skipped config3 files in tests/mocks?

I think that config4 files should be renamed to config3 and tests should also be updated to use correct files.

Anyway, thank you for this PR! I will merge it when I review it completely and you fix requested changes.

src/Config.php Outdated Show resolved Hide resolved
@markdegrootnl
Copy link
Contributor Author

Is there any reason why you skipped config3 files in tests/mocks?

I think that config4 files should be renamed to config3 and tests should also be updated to use correct files.

Anyway, thank you for this PR! I will merge it when I review it completely and you fix requested changes.

Config 3 is used in another test to check the case if a file does not exist.

@filips123 filips123 self-requested a review September 1, 2019 15:44
Copy link
Collaborator

@filips123 filips123 left a comment

Choose a reason for hiding this comment

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

This looks all good! Thanks!

@filips123 filips123 merged commit 72bec48 into hassankhan:develop Sep 1, 2019
@DavidePastore DavidePastore added this to the 2.1.0 milestone Dec 7, 2020
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.

3 participants