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

Remove lib/json.php dependency #2207

Merged
merged 1 commit into from
Aug 1, 2022
Merged

Conversation

pmeenan
Copy link
Contributor

@pmeenan pmeenan commented Aug 1, 2022

All relatively recent versions of the built-in JSON support work well and the json.lib was used for pre-5.3 php (which is long-since not supported). It also doesn't work with php 8 so this removes the dependency and cleans up any references to it.

From a user-facing perspective, this fixes HAR export on php 8.1 where the library was imported regardless of the php version in export.php (but not actually used there).

@pmeenan pmeenan changed the title Remove json.lib dependency Remove lib/json.php dependency Aug 1, 2022
Copy link
Contributor

@jefflembeck jefflembeck left a comment

Choose a reason for hiding this comment

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

Awesome. Thanks!

@jefflembeck jefflembeck merged commit 8d34649 into catchpoint:master Aug 1, 2022
@pmeenan pmeenan deleted the JSON branch August 1, 2022 14:39
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.

None yet

2 participants