ugh inline brackets??
This is pretty much C....

well if anybody else wants this... I am a huge fan of inline brackets
but of course I will follow the majority.

Cheers

On Wed, Jun 13, 2012 at 10:04 AM, Ivan Habunek <[email protected]> wrote:
> The PSR coding standards [1] have recently been approved by the PHP
> Framework Interop Group  (ex PHP Standards Working Group) [2].
>
> I have read the standards, they seem well constructed, and they make
> sense to me.
>
> PSR-0 - Deals with namespaces, so it does not affect the project at this 
> point.
> PSR-1 - Sets basic coding standards. log4php code is already compliant
> with this standard.
> PSR-2 - Extends PSR-1 with much more detailed rules. log4php is
> currently not compliant.
>
> There are not that many changes we need to make to be compliant with
> PSR-2. The larger ones would be:
> - indent using 4 spaces (currently tabs)
> - opening braces for classes and methods go on the next line (currently 
> inline)
> - lines must end with unix LF (currently undefined - mixed LF and CR/LF)
>
> I think a decent coding standard would be good for this project, and
> make any contributions easier. Therefore I propose that we adopt these
> standards, starting with the next release (2.3.0). I also volunteer to
> do the work.
>
> What say you?
>
> Regards,
> Ivan
>
> [1] https://github.com/php-fig/fig-standards/tree/master/accepted
> [2] https://groups.google.com/forum/#!forum/php-standards



-- 
http://www.grobmeier.de
https://www.timeandbill.de

Reply via email to