AndrewRadev/splitjoin.vim — pull request #8 by grota (2012-04-08 10:18:33+00:00)
Title: initial php support

Hi Andrew,
attached you'll find some initial php support.
I'm not 100% happy about the implementation, though.
Maybe with another pair of eyes we can fix this.
In particular I don't like that I had to copy `s:ParseHash` that now is the same function in at least 4 places.
I also had to move another function from the ruby ft to the global sj namespace and in the process I had to substitute `\+` to `*` on https://github.com/grota/splitjoin.vim/pull/new/master#L0R307
Once again, `sj#php#LocateParenOnLine` is way too similar to `sj#LocateCurlyBracesOnLine()`: what are your thoughts about refactoring it?

cheers,
Giuseppe