Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.11.5

Bug #20536 generator spaces after dataobject variabeles
Submitted: 2015-04-28 13:58 UTC
From: stijnhau Assigned: alan_k
Status: Closed Package: DB_DataObject (version 1.11.4)
PHP Version: 5.6.8 OS: Linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 22 - 9 = ?

 
 [2015-04-28 13:58 UTC] stijnhau (Stijn Haulotte)
Description: ------------ There can vbe spaces after a the generated var names in the class $body .=" {$var} \${$t->name}; {$p}// {$t->type}({$t->len}) {$t->flags}\n"; in Generator.php should be replaced with $body .= rtrim(" {$var} \${$t->name}; {$p}// {$t->type}({$t->len}) {$t->flags}") . "\n";

Comments

 [2015-04-30 10:37 UTC] alan_k (Alan Knowles)
-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 pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net 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-05-04 19:05 UTC] stijnhau (Stijn Haulotte)
Oke thanks.