diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2017-10-26 14:41:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-26 14:41:43 -0700 |
commit | 23adfeb00327fbdccacc99806acb1a9a073bd8e0 (patch) | |
tree | f56e93003569b065b7c2fd191e97763e9c1738ab /conformance/conformance_php.php | |
parent | a08b03d4c00a5793b88b494f672513f6ad46a681 (diff) |
Reserve unknown in Ruby (#3763)
* Reserve unknown in ruby
* Revert ruby tests. Wait for cpp impl for conformance test
* Add conformance test for preserving unknown
* Add unknown field conformance test to csharp failure list.
* Fix comments
* Fix comment
* Fix comments
* Fix typo
* Use stringsink_string directly
* Mark hd unused
* Remove unused encodeunknown_handlerfunc
Diffstat (limited to 'conformance/conformance_php.php')
-rwxr-xr-x | conformance/conformance_php.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/conformance/conformance_php.php b/conformance/conformance_php.php index 2e3f7831..4dc18f59 100755 --- a/conformance/conformance_php.php +++ b/conformance/conformance_php.php @@ -57,10 +57,10 @@ function doTest($request) return $response; } } elseif ($request->getMessageType() == "protobuf_test_messages.proto2.TestAllTypesProto2") { - $response->setSkipped("PHP doesn't support proto2"); - return $response; + $response->setSkipped("PHP doesn't support proto2"); + return $response; } else { - trigger_error("Protobuf request doesn't have specific payload type", E_USER_ERROR); + trigger_error("Protobuf request doesn't have specific payload type", E_USER_ERROR); } } elseif ($request->getPayload() == "json_payload") { try { |