Bug #13861 [Opn]: indentation in /**/ dropped
| From: | jespinog at gmail dot com | Date: | Sun, 30 May 2010 01:54:57 +0000 |
| Subject: | Bug #13861 [Opn]: indentation in /**/ dropped | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-3825@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=13861&edit=1
ID: 13861
Updated by: jespinog@gmail.com
Reported By: terrafrost at php dot net
Summary: indentation in /**/ dropped
Status: Open
Type: Bug
Package: PHP_Beautifier
PHP Version: Irrelevant
-Assigned To:
+Assigned To: jespino
Roadmap Versions:
New Comment:
-Assigned To:
+Assigned To: jespino
Previous Comments:
------------------------------------------------------------------------
[2008-06-21 17:31:14] clbustos
Mhhh.... This is a "feature", but maybe a more inteligent aproach is
calculate the original indent of every line on the original comment and
add or delete spaces, according to actual indent.
------------------------------------------------------------------------
[2008-05-09 00:51:23] terrafrost
Description:
------------
Tested with the Pear filter, although it probably occurs with others,
as well.
Test script:
---------------
<?php
/*
<?php
class test
{
function test()
{
switch (true) {
default:
}
}
}
*/
?>
Expected result:
----------------
<?php
/*
<?php
class test
{
function test()
{
switch (true) {
default:
}
}
}
*/
?>
Actual result:
--------------
<?php
/*
<?php
class test
{
function test()
{
switch (true) {
default:
}
}
}
*/
?>
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=13861&edit=1