PSR-2
GaryJones opened this issue · 2 comments
Since this class is to be used outside of WP, and since a lot of the code already doesn't follow the WP code standards, it would make sense to format is using the PSR-2 guidelines.
A few bracket changes here and there, spaces insteads of tabs and so on. To be compatible with PSR-1 (which is a requirement of PSR-2), the methods must be named as camelcase, which would be a BC break. camelCase methods is what all of native PHP classes though (it's WP itself which does things differently.)
I can do a PR, but wanted to see if you'd be interested in moving the project in that direction?
I have to say that it's close to WordPress code standards and its just my code standards so , feel free to do so if you want but it's not something I'll merge in.
Thanks
(deathToCamelCase, to be honest)