[RCD] Codebase cleanup, PSR-1/2 compliance - and before you say no, I'm offering to do the work
skoremail at gmail.com
Tue Aug 20 21:15:11 CEST 2013
I'm David and I would like to help out. Starting on any project, it's
usually best to get familiar with the codebase.
Now - I really enjoy combing through and cleaning up codebases and that's
usually a great way to do just that.
To give an example, I've recently done this to RedBeanPHP, you can check
out the details here:
So - in a nutshell, that's what I'm offering to do for Roundcube.
Examples, picked at random:
All as one commit:
I like code concise and self explanatory. I think if there are more than
three indents (within a function), you can usually simplify the code and
make it easier to understand while you're at it. I actually, weirdly, enjoy
a 80 character line limit and while I usually prefer tabs (I disagree with
PSR-2 on that), I'm fine coding with 4 spaces for indentation.
I'd be happy to accommodate to special customs, of course, although I do
think that sticking to PSR - flawed as it may be in spots - really helps
enable collaboration by convention. Let me know if this sounds like
something that would at all be welcome in this project.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dev