THRIFT-2673 PHP: generated Service_method_result code should not have validators

Patch: Stig Bakken
diff --git a/lib/php/test/Test/Thrift/TestValidators.php b/lib/php/test/Test/Thrift/TestValidators.php
index 41e95fb..4c92404 100644
--- a/lib/php/test/Test/Thrift/TestValidators.php
+++ b/lib/php/test/Test/Thrift/TestValidators.php
@@ -96,6 +96,10 @@
 // Unions should not get write validators
 assert_has_no_write_validator('TestValidators\UnionOfStrings');
 
+// Service _result classes should not get any validators
+assert_has_no_read_validator('TestValidators\TestService_test_result');
+assert_has_no_write_validator('TestValidators\TestService_test_result');
+
 function assert_has_a_read_validator($class) {
     my_assert(has_read_validator_method($class),
               $class . ' class should have a read validator');
diff --git a/lib/php/test/TestValidators.thrift b/lib/php/test/TestValidators.thrift
index f994a9e..d0ed9cc 100644
--- a/lib/php/test/TestValidators.thrift
+++ b/lib/php/test/TestValidators.thrift
@@ -26,3 +26,6 @@
   2: string bb; 
 } 
 
+service TestService {
+    void test() throws(1: ThriftTest.Xception xception);
+}