THRIFT-2768: Whitespace Fixup
Client: General (Makefile.am, *.thrift)
Patch: Jens Geyer

DocTest.thrift has NOT been changed, the trailing whitespaces are part of the test case.
diff --git a/lib/php/Makefile.am b/lib/php/Makefile.am
index e9d673c..da8ffdd 100755
--- a/lib/php/Makefile.am
+++ b/lib/php/Makefile.am
@@ -24,7 +24,7 @@
 
 if WITH_PHP_EXTENSION
 %.so:
-	cd src/ext/thrift_protocol/ && $(MAKE)
+    cd src/ext/thrift_protocol/ && $(MAKE)
 
 phpconfdir=$(PHP_CONFIG_PREFIX)
 phpconf_DATA=thrift_protocol.ini
diff --git a/lib/php/test/Makefile.am b/lib/php/test/Makefile.am
index a529d8c..66e69d5 100755
--- a/lib/php/test/Makefile.am
+++ b/lib/php/test/Makefile.am
@@ -20,29 +20,29 @@
 THRIFT = $(top_builddir)/compiler/cpp/thrift
 
 stubs: ../../../test/ThriftTest.thrift  TestValidators.thrift
-	mkdir -p ./packages
-	$(THRIFT) --gen php -r --out ./packages ../../../test/ThriftTest.thrift
-	mkdir -p ./packages/phpv
-	mkdir -p ./packages/phpvo
-	$(THRIFT) --gen php:validate     -r --out ./packages/phpv   TestValidators.thrift 
-	$(THRIFT) --gen php:validate,oop -r --out ./packages/phpvo  TestValidators.thrift 
-	
-check-validator: stubs 
-	php Test/Thrift/TestValidators.php 
-	php Test/Thrift/TestValidators.php -oop 
+    mkdir -p ./packages
+    $(THRIFT) --gen php -r --out ./packages ../../../test/ThriftTest.thrift
+    mkdir -p ./packages/phpv
+    mkdir -p ./packages/phpvo
+    $(THRIFT) --gen php:validate     -r --out ./packages/phpv   TestValidators.thrift
+    $(THRIFT) --gen php:validate,oop -r --out ./packages/phpvo  TestValidators.thrift
 
-check-protocol:	stubs
+check-validator: stubs
+    php Test/Thrift/TestValidators.php
+    php Test/Thrift/TestValidators.php -oop
+
+check-protocol:    stubs
 if HAVE_PHPUNIT
-	$(PHPUNIT) --log-junit=phpunit.xml Test/Thrift/Protocol/TestTJSONProtocol.php
-	$(PHPUNIT) --log-junit=phpunit.xml Test/Thrift/Protocol/TestBinarySerializer.php
+    $(PHPUNIT) --log-junit=phpunit.xml Test/Thrift/Protocol/TestTJSONProtocol.php
+    $(PHPUNIT) --log-junit=phpunit.xml Test/Thrift/Protocol/TestBinarySerializer.php
 endif
-	
+
 check: stubs \
   check-protocol \
   check-validator
 
 clean-local:
-	$(RM) -r ./packages
+    $(RM) -r ./packages
 
 EXTRA_DIST = Test
 
diff --git a/lib/php/test/TestValidators.thrift b/lib/php/test/TestValidators.thrift
index d0ed9cc..9c38d92 100644
--- a/lib/php/test/TestValidators.thrift
+++ b/lib/php/test/TestValidators.thrift
@@ -18,13 +18,13 @@
  */
 
 namespace php TestValidators
- 
+
 include "../../../test/ThriftTest.thrift"
 
-union UnionOfStrings { 
-  1: string aa; 
-  2: string bb; 
-} 
+union UnionOfStrings {
+  1: string aa;
+  2: string bb;
+}
 
 service TestService {
     void test() throws(1: ThriftTest.Xception xception);