PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » PHP » PHP_Beautifier » Bug #6089

Inserts a blank line after nearly every code line

Details

Request #6089Inserts a blank line after nearly every code line
Submitted2005-11-27 18:47 UTC
Fromcmr at forestfactory dot de
Assignedclbustos
StatusClosed
PackagePHP_Beautifier
PHP Version5.0.4
OSLinux
Roadmaps(Not assigned)

Comments

[2005-11-27 18:47 UTC] cmr at forestfactory dot de

Description:
------------
PHP_Beautifier 0.1.7

Test script:
---------------
Here the test scenario:

$ cat script.php
<?
echo "1";
echo "2";
echo "3";
?>
$ php_beautifier < script.php > script_beauty.php
$ cat script_beauty.php
<?
echo "1";

echo "2";

echo "3";

?>

Expected result:
----------------
I would like the Beautifier not to insert blank lines between the echo lines. I tested a lot with filters and read the source and documentation but the blank lines did not go away :-(

[2006-01-26 05:25 UTC] clbustos at php dot net

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PEAR.

I can't replicate the bug on my Gentoo Linux.
Please, give some information about your system....

[2006-06-06 05:25 UTC] clbustos at php dot net

Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pear.php.net/get/PHP_Beautifier

Fixed on PHP_Beautifier 0.1.9