PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PHP » PHP_Beautifier » Bug #7346

missing new line between functions in pear filter

Details

Submitted2006-04-09 08:18 UTC
Fromsoporte at onfocus dot cl
StatusBogus
PackagePHP_Beautifier
PHP Version5_0 CVS-2006-04-09
OSIrrelevant
Roadmaps(Not assigned)

Comments

[2006-04-09 08:18 UTC] soporte at onfocus dot cl

Description:
------------
functions don't get separated by a new line

Test script:
---------------
run pear filter

Expected result:
----------------
function foo()
{
//something
}
[new line]
function bar()
{
//something
}

Actual result:
--------------
function foo()
{
//something
}
function bar()
{
//something
}

[2006-06-13 21:06 UTC] clbustos at php dot net

Thank you for taking the time to write to us, but this is not
a bug.

The documentation doesn't said it explicitily. In the packages, exists inconsistency on that issue. So, I prefer not to include in the package. You can use filter NewLines for this issue.