einars/js-beautify — pull request #120 by alkavan (2012-06-19 18:05:03+00:00)
Title: JSBeautifier PHP class refactoring

Hay, I have made lots of changes to this file (well, the commit looks huge)
but i did not change any of the functions logic or naming or anything.
I have added OOP properties access control.

I did it because, in it's last state structure of this class was unusable in Symfony 2,
and actually will not fit nicely with most modern PHP frameworks.
and will need re factoring anyway.

I know it's lots of changes, so i hope you will accept it.
I run all the tests and they seemed to pass ok!

You can find more details in my commit message with the changes i made.
I'll be happy to send more of my commits, i think i can reduce the file size
by about a half more or less. I found lots of code blocks that can be shortened.