From: ("")
Date:  04 May 2015 22:05:59 Hong Kong Time

[PEAR-BUG] Bug #20536 [Com]: generator spaces after dataobject variabeles

NNTP-Posting-Host:  null

Edit report at

 ID:               20536
 Comment by:
 Reported By:      stijnhau at gmail dot com
 Summary:          generator spaces after dataobject variabeles
 Status:           Closed
 Type:             Bug
 Package:          DB_DataObject
 Operating System: Linux
 Package Version:  1.11.4
 PHP Version:      5.6.8
 Assigned To:      alan_k
 Roadmap Versions: 
 New Comment:

Oke thanks.

Previous Comments:

[2015-04-30 06:37:49] alan_k

-Status:      Open
+Status:      Closed
-Assigned To:
+Assigned To: alan_k
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on
by the end of next Sunday (CET).

If this was a problem with the website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.


[2015-04-28 09:58:10] stijnhau

There can vbe spaces after a the generated var names in the class

$body .="    {$var} \${$t->name};  {$p}// {$t->type}({$t->len}) 

in Generator.php should be replaced with 

$body .= rtrim("    {$var} \${$t->name};  {$p}// {$t->type}({$t->len}) 
{$t->flags}") . "\n";


Edit this bug report at