[7392] fix conformance test in PHP JSON parser (#19376)
# Motivation This PR fixes failing JSON conformance tests for php with name `IgnoreUnknownEnumStringValue*`. The JSON parsing spec was discussed in https://github.com/protocolbuffers/protobuf/issues/7392. Recent similar changes in other languages: - Python:pull/19388/head86abf35ef5
- Swift: https://github.com/apple/swift-protobuf/pull/1345 - C#: https://github.com/protocolbuffers/protobuf/pull/15758 - C++: https://github.com/protocolbuffers/protobuf/pull/16479 Note: this PR is equivalent to https://github.com/protocolbuffers/protobuf/pull/16743. I had to create a new one since I lost access to noom/protobuf in the meantime (switched companies recently). Closes #19376 COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/19376 from antongrbin:anton--7392--php-newbranch641a28a2b8
PiperOrigin-RevId: 699989555
parent
a02ec0f353
commit
1c98b5ba47
3 changed files with 84 additions and 4 deletions
Loading…
Reference in new issue