Skip to content

add config merger class #1881

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 1 commit into from
Closed

add config merger class #1881

wants to merge 1 commit into from

Conversation

pxpm
Copy link
Contributor

@pxpm pxpm commented Jan 31, 2025

This class will correctly handle merging configs.

None of the native php functions handle the merge process of the config arrays given the current setup.

This class ensures arrays are merged correctly and "empty" arrays are respected.

This is a super-seed of #1880 that was reverted. 👍

@freekmurze
Copy link
Member

I'm going to pass on this for now. To avoid problems, with merging I'll suggest keeping the published config file updated with the structure of the latest one in the package.

@freekmurze freekmurze closed this Jan 31, 2025
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