Bug #17278 [Opn->Csd]: Continue 2; not processed correctly
| From: | clbustos at surnet dot cl | Date: | Fri, 28 May 2010 21:42:33 +0000 |
| Subject: | Bug #17278 [Opn->Csd]: Continue 2; not processed correctly | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-3820@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=17278&edit=1
ID: 17278
Updated by: clbustos@surnet.cl
Reported By: chris at lodesys dot com
Summary: Continue 2; not processed correctly
-Status: Open
+Status: Closed
Type: Bug
Package: PHP_Beautifier
Operating System: Windows XP
Package Version: Unknown
PHP Version: 5.2.12
-Assigned To:
+Assigned To: clbustos
Roadmap Versions:
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: clbustos
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.
Previous Comments:
------------------------------------------------------------------------
[2010-05-26 19:28:57] jespino
Now is fixed in the subversion repository
------------------------------------------------------------------------
[2010-03-29 21:14:07] phxchris
Description:
------------
Running a hacked version of 0.1.13 and found a problem where a
"Continue 2;" statement would be reformatted to "Continue2;".
Fix is to add...
T_CONTINUE => 'T_BREAK',
... into the...
$aTokensToChange = array(
...line in Beautifier.php.
T_CONTINUE was not being handled anywhere.
Not sure of the problem still exists in the current version, but wanted
to pass it along, just in case.
Test script:
---------------
<?php
continue 2;
break 2;
?>
Expected result:
----------------
<?php
continue 2;
break 2;
?>
Actual result:
--------------
<?php
continue2;
break 2;
?>
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17278&edit=1