2013-08-29 14:07 időpontban Thomas Bruederli ezt írta:
Thanks for this! Here are some comments about your proposal:
- PSR-2 compliance
I generally agree to using PSR-2 even if there are some rules that personally I don't like. Especially the if/else newlines.
There's a lots of inconsistency between PSR-1/2 and the current RC Dev_Guidelines (http://trac.roundcube.net/wiki/Dev_Guidelines) eg. StudlyCaps and camelCase in class and method names. Anyone wants to clarify the current rules? I want to create a ruleset for PHP_CodeSniffer.