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

refactor: replace icecave/parity with custom deep comparator #803

Merged
merged 3 commits into from
Mar 14, 2025

Conversation

DannyvdSluijs
Copy link
Collaborator

@DannyvdSluijs DannyvdSluijs commented Mar 7, 2025

After considering the options and rethinking the problem we are trying to solve I came top the conclusion we don't need a external library which can handle PHP class equality. Since we are working with JSON we only have scalar types (boolean, float, integer and string) and two collections types array and stdClass.
This made it simple to write our own deep comparison.

Fixes #753

@DannyvdSluijs DannyvdSluijs merged commit cd30df3 into master Mar 14, 2025
19 checks passed
@DannyvdSluijs DannyvdSluijs deleted the Fix-753 branch March 14, 2025 11:52
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.

Re-evaluate icecave dependency
2 participants