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 pointless json_encode availability checks #1919

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

InvisibleSmiley
Copy link
Contributor

Fixes #1918.

@Seldaek
Copy link
Owner

Seldaek commented Oct 23, 2024

Why this? json ext can still be disabled AFAIK even tho it's enabled by default.

@InvisibleSmiley
Copy link
Contributor Author

Why this? json ext can still be disabled AFAIK even tho it's enabled by default.

No. As I tried to explain it cannot be disabled anymore. If you don't trust my understanding of the official PHP documentation that I cited, maybe read https://php.watch/versions/8.0/ext-json.

@Seldaek
Copy link
Owner

Seldaek commented Oct 23, 2024

Ah sorry I missed the linked issue 🤦🏻‍♂️ Sounds good then, thanks. I missed that change in 8.0

@Seldaek Seldaek added this to the 3.x milestone Oct 25, 2024
@Seldaek Seldaek added the Bug label Oct 25, 2024
@Seldaek Seldaek merged commit 63fdb12 into Seldaek:main Oct 25, 2024
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pointless checks for availability of JSON extension (and @throws RuntimeException)
3 participants