fabpot/PHP-CS-Fixer — pull request #130 by evillemez (2012-08-18 02:57:16+00:00)
Title: [WIP:RFC] Implemented code block alignment fixer + tokenizer utility

This is a work in progress to address issue #122.

Hoping for comments about the general approach. I think the tokenizer (needs tests) could be useful for other more complex fixers.

This works for the case I mentioned in the issue, and I've run it on some fairly complicated files and had good results, but I'm sure there are cases I don't account for.

Thoughts?