Sounds good to me.  Might help to add 'hints' to at least help some
editors with indenting.  Here's a modeline for vim you can add to the
end of a php file:
// vim:tw=75 et sw=4 sts=4 ts=4

If we can all submit something similar for our editor of choice (if it
exists), we can make those part of the 'template' for php files in the
project.


Evan Prodromou wrote:
> So, we're running into some coding standards conflicts, and I'd like
> to get those over with. Standards are one of these subjective things
> that we all have to kind of live with.
>
> Developing our own standard will be an incredible waste of time and
> scarce resources. I propose instead that we adopt the PEAR Coding
> standards, as documented here:
>
> http://pear.php.net/manual/en/standards.php
>
> There are a couple of other PHP coding standards out there, but the
> differences are so minuscule, I really don't want to mess with them.
>
> I think the code will be slowly converted to pass PHP_CodeSniffer
> <http://pear.php.net/package/PHP_CodeSniffer> tests, and I hope that
> it will all be done by the 0.7 release.
>
> Objections, worries, comments, suggestions?
>
> -Evan
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Laconica-dev mailing list
> [email protected]
> http://mail.laconi.ca/mailman/listinfo/laconica-dev
>   

-- 
Mark Keisler
Principal Software Engineer
Motorola Open Source Technologies
630-329-2828

_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to