BarbUk/Sublime-php-beautifier — Issue #2: Pear filter
Author: denmarkin
Created: 2012-03-02 20:14:40+00:00
State: open

Hi BarbUK,

thx - great thing. However, seems like I can't get PEAR style-compatible output with default filters configuration. I get K&R style output when default `php_beautifier.py` says `filters = "ArrayNested() NewLines(before=switch:while:for:foreach:T_CLASS:return:break) Pear(add-header=false)`.

In particular, I'm interested in curly braces on newlines and empty lines before T_FUNCTION (). Tried to play with this file but seems like it doesn't change default behavior, but seems to be parsed (had some parsing errors).

Any clue on forcing it to produce Pear-styled output?

TIA