Home » PHP » PHP_Beautifier » Bug #1597
Beautifier damages source code
Details
| Submitted | 2004-06-09 21:09 UTC |
|---|---|
| From | marduk at k-d-w dot org |
| Assigned | clbustos |
| Status | Closed |
| Package | PHP_Beautifier |
| PHP Version | 5.0.0RC2 (Release Candidate 2) |
| OS | WindowsXP |
| Roadmaps | (Not assigned) |
Comments
[2004-06-09 21:09 UTC] marduk at k-d-w dot org
Description:
------------
I'm running version 0.0.6.1 of PHP_Beautifier.
I discovered today, that PHP_Beautifier has problems with brackets (e.g. after if statement) followed by a comment.
Before converting the code looks like:
<code>
if ($_POST["url"] != "") //inserting data
{
</code>
But after converting the following result is returned:
<code>
if ($_POST["url"] != "") //inserting data {
</code>
Therefore the hole script is being damaged.
[2004-06-10 05:50 UTC] clbustos at entelchile dot net
Fixed on CVS (http://cvs.sourceforge.net/viewcvs.py/beautifyphp/PHP_Beautifier/)
Release 0.0.7 will include the fix for this error.