You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by br...@apache.org on 2010/08/12 16:54:34 UTC

svn commit: r984811 - in /incubator/thrift/trunk/lib/php/src: ./ protocol/ transport/

Author: bryanduxbury
Date: Thu Aug 12 14:54:33 2010
New Revision: 984811

URL: http://svn.apache.org/viewvc?rev=984811&view=rev
Log:
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

Modified:
    incubator/thrift/trunk/lib/php/src/Thrift.php
    incubator/thrift/trunk/lib/php/src/protocol/TBinaryProtocol.php
    incubator/thrift/trunk/lib/php/src/protocol/TProtocol.php
    incubator/thrift/trunk/lib/php/src/transport/TBufferedTransport.php
    incubator/thrift/trunk/lib/php/src/transport/THttpClient.php
    incubator/thrift/trunk/lib/php/src/transport/TMemoryBuffer.php
    incubator/thrift/trunk/lib/php/src/transport/TNullTransport.php
    incubator/thrift/trunk/lib/php/src/transport/TPhpStream.php
    incubator/thrift/trunk/lib/php/src/transport/TSocket.php
    incubator/thrift/trunk/lib/php/src/transport/TSocketPool.php
    incubator/thrift/trunk/lib/php/src/transport/TTransport.php

Modified: incubator/thrift/trunk/lib/php/src/Thrift.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/Thrift.php?rev=984811&r1=984810&r2=984811&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/Thrift.php (original)
+++ incubator/thrift/trunk/lib/php/src/Thrift.php Thu Aug 12 14:54:33 2010
@@ -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';
-
-?>

Modified: incubator/thrift/trunk/lib/php/src/protocol/TBinaryProtocol.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/protocol/TBinaryProtocol.php?rev=984811&r1=984810&r2=984811&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/protocol/TBinaryProtocol.php (original)
+++ incubator/thrift/trunk/lib/php/src/protocol/TBinaryProtocol.php Thu Aug 12 14:54:33 2010
@@ -427,5 +427,3 @@ class TBinaryProtocolAccelerated extends
     return $this->strictWrite_;
   }
 }
-
-?>

Modified: incubator/thrift/trunk/lib/php/src/protocol/TProtocol.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/protocol/TProtocol.php?rev=984811&r1=984810&r2=984811&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/protocol/TProtocol.php (original)
+++ incubator/thrift/trunk/lib/php/src/protocol/TProtocol.php Thu Aug 12 14:54:33 2010
@@ -372,6 +372,3 @@ interface TProtocolFactory {
    */
   public function getProtocol($trans);
 }
-
-
-?>

Modified: incubator/thrift/trunk/lib/php/src/transport/TBufferedTransport.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/transport/TBufferedTransport.php?rev=984811&r1=984810&r2=984811&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/transport/TBufferedTransport.php (original)
+++ incubator/thrift/trunk/lib/php/src/transport/TBufferedTransport.php Thu Aug 12 14:54:33 2010
@@ -159,5 +159,3 @@ class TBufferedTransport extends TTransp
   }
 
 }
-
-?>

Modified: incubator/thrift/trunk/lib/php/src/transport/THttpClient.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/transport/THttpClient.php?rev=984811&r1=984810&r2=984811&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/transport/THttpClient.php (original)
+++ incubator/thrift/trunk/lib/php/src/transport/THttpClient.php Thu Aug 12 14:54:33 2010
@@ -198,5 +198,3 @@ class THttpClient extends TTransport {
   }
 
 }
-
-?>

Modified: incubator/thrift/trunk/lib/php/src/transport/TMemoryBuffer.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/transport/TMemoryBuffer.php?rev=984811&r1=984810&r2=984811&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/transport/TMemoryBuffer.php (original)
+++ incubator/thrift/trunk/lib/php/src/transport/TMemoryBuffer.php Thu Aug 12 14:54:33 2010
@@ -80,5 +80,3 @@ class TMemoryBuffer extends TTransport {
     return strlen($this->buf_);
   }
 }
-
-?>

Modified: incubator/thrift/trunk/lib/php/src/transport/TNullTransport.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/transport/TNullTransport.php?rev=984811&r1=984810&r2=984811&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/transport/TNullTransport.php (original)
+++ incubator/thrift/trunk/lib/php/src/transport/TNullTransport.php Thu Aug 12 14:54:33 2010
@@ -44,5 +44,3 @@ class TNullTransport extends TTransport 
   public function write($buf) {}
 
 }
-
-?>

Modified: incubator/thrift/trunk/lib/php/src/transport/TPhpStream.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/transport/TPhpStream.php?rev=984811&r1=984810&r2=984811&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/transport/TPhpStream.php (original)
+++ incubator/thrift/trunk/lib/php/src/transport/TPhpStream.php Thu Aug 12 14:54:33 2010
@@ -107,5 +107,3 @@ class TPhpStream extends TTransport {
   }
 
 }
-
-?>

Modified: incubator/thrift/trunk/lib/php/src/transport/TSocket.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/transport/TSocket.php?rev=984811&r1=984810&r2=984811&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/transport/TSocket.php (original)
+++ incubator/thrift/trunk/lib/php/src/transport/TSocket.php Thu Aug 12 14:54:33 2010
@@ -308,5 +308,3 @@ class TSocket extends TTransport {
     }
   }
 }
-
-?>

Modified: incubator/thrift/trunk/lib/php/src/transport/TSocketPool.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/transport/TSocketPool.php?rev=984811&r1=984810&r2=984811&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/transport/TSocketPool.php (original)
+++ incubator/thrift/trunk/lib/php/src/transport/TSocketPool.php Thu Aug 12 14:54:33 2010
@@ -292,5 +292,3 @@ class TSocketPool extends TSocket {
     throw new TException($error);
   }
 }
-
-?>

Modified: incubator/thrift/trunk/lib/php/src/transport/TTransport.php
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/transport/TTransport.php?rev=984811&r1=984810&r2=984811&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/transport/TTransport.php (original)
+++ incubator/thrift/trunk/lib/php/src/transport/TTransport.php Thu Aug 12 14:54:33 2010
@@ -104,5 +104,3 @@ abstract class TTransport {
    */
   public function flush() {}
 }
-
-?>