THRIFT-718. php: Thrift PHP library includes closing tags and extraneous whitespace

This patch trims closing tags to avoid potential for whitespace.

Patch: Nicholas Telford

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@984811 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/php/src/Thrift.php b/lib/php/src/Thrift.php
index ef6ab8a..a14a3f3 100644
--- a/lib/php/src/Thrift.php
+++ b/lib/php/src/Thrift.php
@@ -783,5 +783,3 @@
 }
 include_once $GLOBALS['THRIFT_ROOT'].'/protocol/TProtocol.php';
 include_once $GLOBALS['THRIFT_ROOT'].'/transport/TTransport.php';
-
-?>
diff --git a/lib/php/src/protocol/TBinaryProtocol.php b/lib/php/src/protocol/TBinaryProtocol.php
index 31bbbf9..f4579e1 100644
--- a/lib/php/src/protocol/TBinaryProtocol.php
+++ b/lib/php/src/protocol/TBinaryProtocol.php
@@ -427,5 +427,3 @@
     return $this->strictWrite_;
   }
 }
-
-?>
diff --git a/lib/php/src/protocol/TProtocol.php b/lib/php/src/protocol/TProtocol.php
index e9ff41a..be47100 100644
--- a/lib/php/src/protocol/TProtocol.php
+++ b/lib/php/src/protocol/TProtocol.php
@@ -372,6 +372,3 @@
    */
   public function getProtocol($trans);
 }
-
-
-?>
diff --git a/lib/php/src/transport/TBufferedTransport.php b/lib/php/src/transport/TBufferedTransport.php
index cfae767..e841564 100644
--- a/lib/php/src/transport/TBufferedTransport.php
+++ b/lib/php/src/transport/TBufferedTransport.php
@@ -159,5 +159,3 @@
   }
 
 }
-
-?>
diff --git a/lib/php/src/transport/THttpClient.php b/lib/php/src/transport/THttpClient.php
index 224d403..102dbbb 100644
--- a/lib/php/src/transport/THttpClient.php
+++ b/lib/php/src/transport/THttpClient.php
@@ -198,5 +198,3 @@
   }
 
 }
-
-?>
diff --git a/lib/php/src/transport/TMemoryBuffer.php b/lib/php/src/transport/TMemoryBuffer.php
index 01eb0f5..a0b1a54 100644
--- a/lib/php/src/transport/TMemoryBuffer.php
+++ b/lib/php/src/transport/TMemoryBuffer.php
@@ -80,5 +80,3 @@
     return strlen($this->buf_);
   }
 }
-
-?>
diff --git a/lib/php/src/transport/TNullTransport.php b/lib/php/src/transport/TNullTransport.php
index bada5df..6e5340d 100644
--- a/lib/php/src/transport/TNullTransport.php
+++ b/lib/php/src/transport/TNullTransport.php
@@ -44,5 +44,3 @@
   public function write($buf) {}
 
 }
-
-?>
diff --git a/lib/php/src/transport/TPhpStream.php b/lib/php/src/transport/TPhpStream.php
index 3a1c80b..94b11a6 100644
--- a/lib/php/src/transport/TPhpStream.php
+++ b/lib/php/src/transport/TPhpStream.php
@@ -107,5 +107,3 @@
   }
 
 }
-
-?>
diff --git a/lib/php/src/transport/TSocket.php b/lib/php/src/transport/TSocket.php
index ba3a631..a3000f7 100644
--- a/lib/php/src/transport/TSocket.php
+++ b/lib/php/src/transport/TSocket.php
@@ -308,5 +308,3 @@
     }
   }
 }
-
-?>
diff --git a/lib/php/src/transport/TSocketPool.php b/lib/php/src/transport/TSocketPool.php
index 1421a65..ac46c36 100644
--- a/lib/php/src/transport/TSocketPool.php
+++ b/lib/php/src/transport/TSocketPool.php
@@ -292,5 +292,3 @@
     throw new TException($error);
   }
 }
-
-?>
diff --git a/lib/php/src/transport/TTransport.php b/lib/php/src/transport/TTransport.php
index e244525..e0e336d 100644
--- a/lib/php/src/transport/TTransport.php
+++ b/lib/php/src/transport/TTransport.php
@@ -104,5 +104,3 @@
    */
   public function flush() {}
 }
-
-?>