| Newsgroups |
php.pear.bugs |
| Message-ID |
<[email protected]> |
Edit report at https://pear.php.net/bugs/bug.php?id=20536&edit=1
ID: 20536
Comment by: [email protected]
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