Skip to content

Use native JSON functions in 2.0 documentation#97

Merged
GrahamCampbell merged 1 commit into
2.0from
replace-json-helpers-2.0
Jul 16, 2026
Merged

Use native JSON functions in 2.0 documentation#97
GrahamCampbell merged 1 commit into
2.0from
replace-json-helpers-2.0

Conversation

@GrahamCampbell

Copy link
Copy Markdown
Member

Guzzle 8 removes its generic JSON utilities, so Command 2.0’s examples currently reference unavailable methods. This replaces both encoding and decoding examples with PHP’s native JSON functions and JSON_THROW_ON_ERROR, keeping the documentation compatible with Guzzle 8 while leaving the PHP 7.2-compatible 1.5 examples unchanged.

@GrahamCampbell
GrahamCampbell merged commit 101ece1 into 2.0 Jul 16, 2026
22 checks passed
@GrahamCampbell
GrahamCampbell deleted the replace-json-helpers-2.0 branch July 16, 2026 18:28
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.

1 participant