Bug #13861 [Asn->Csd]: indentation in /**/ dropped

From: Date: Mon, 31 May 2010 17:49:49 +0000
Subject: Bug #13861 [Asn->Csd]: indentation in /**/ dropped
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-3833@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: Assigned +Status: Closed Type: Bug Package: PHP_Beautifier PHP Version: Irrelevant Assigned To: jespino Roadmap Versions: New Comment: -Status: Assigned +Status: Closed 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. Now the indentation of the comments no change. Previous Comments: ------------------------------------------------------------------------ [2010-05-30 01:54:57] jespino -Assigned To: +Assigned To: jespino ------------------------------------------------------------------------ [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

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