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

From: Date: Mon, 04 May 2015 14:05:59 +0000
Subject: Bug #20536 [Com]: generator spaces after dataobject variabeles
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-11264@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=20536&edit=1 ID: 20536 Comment by: stijnhau@gmail.com 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 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-04-28 09:58:10] stijnhau 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"; ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=20536&edit=1

« previous php.pear.bugs (#11264) next »