THRIFT-718. php: Thrift PHP library includes closing tags and extraneous whitespace
authorBryan Duxbury <bryanduxbury@apache.org>
Thu, 12 Aug 2010 14:54:33 +0000 (14:54 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Thu, 12 Aug 2010 14:54:33 +0000 (14:54 +0000)
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

lib/php/src/Thrift.php
lib/php/src/protocol/TBinaryProtocol.php
lib/php/src/protocol/TProtocol.php
lib/php/src/transport/TBufferedTransport.php
lib/php/src/transport/THttpClient.php
lib/php/src/transport/TMemoryBuffer.php
lib/php/src/transport/TNullTransport.php
lib/php/src/transport/TPhpStream.php
lib/php/src/transport/TSocket.php
lib/php/src/transport/TSocketPool.php
lib/php/src/transport/TTransport.php

index ef6ab8a..a14a3f3 100644 (file)
@@ -783,5 +783,3 @@ if (!isset($GLOBALS['THRIFT_ROOT'])) {
 }
 include_once $GLOBALS['THRIFT_ROOT'].'/protocol/TProtocol.php';
 include_once $GLOBALS['THRIFT_ROOT'].'/transport/TTransport.php';
-
-?>
index 31bbbf9..f4579e1 100644 (file)
@@ -427,5 +427,3 @@ class TBinaryProtocolAccelerated extends TBinaryProtocol {
     return $this->strictWrite_;
   }
 }
-
-?>
index e9ff41a..be47100 100644 (file)
@@ -372,6 +372,3 @@ interface TProtocolFactory {
    */
   public function getProtocol($trans);
 }
-
-
-?>
index 224d403..102dbbb 100644 (file)
@@ -198,5 +198,3 @@ class THttpClient extends TTransport {
   }
 
 }
-
-?>
index 01eb0f5..a0b1a54 100644 (file)
@@ -80,5 +80,3 @@ class TMemoryBuffer extends TTransport {
     return strlen($this->buf_);
   }
 }
-
-?>
index bada5df..6e5340d 100644 (file)
@@ -44,5 +44,3 @@ class TNullTransport extends TTransport {
   public function write($buf) {}
 
 }
-
-?>
index 3a1c80b..94b11a6 100644 (file)
@@ -107,5 +107,3 @@ class TPhpStream extends TTransport {
   }
 
 }
-
-?>
index ba3a631..a3000f7 100644 (file)
@@ -308,5 +308,3 @@ class TSocket extends TTransport {
     }
   }
 }
-
-?>
index 1421a65..ac46c36 100644 (file)
@@ -292,5 +292,3 @@ class TSocketPool extends TSocket {
     throw new TException($error);
   }
 }
-
-?>
index e244525..e0e336d 100644 (file)
@@ -104,5 +104,3 @@ abstract class TTransport {
    */
   public function flush() {}
 }
-
-?>