RE: [PHP-DEV] If you want to avoid annoying CS commits
| From: | Joseph Tate | Date: | Fri, 04 Apr 2003 19:53:05 +0000 |
| Subject: | RE: [PHP-DEV] If you want to avoid annoying CS commits | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-701@lists.php.net to get a copy of this message | ||
Something like
astyle --style=kr --pad=all (reformat in Kernighan and Ritchie style and pad
all operators and parens with spaces)
might be sufficient. It might not catch if(foo)bar, but it'll go a long way
to reducing the number of ws and superficial style fixes that need to be
done.
Joseph
> -----Original Message-----
> From: Tom Sommer [mailto:webmaster@tsn.dk]
> Sent: Friday, April 04, 2003 2:05 PM
> To: internals@lists.php.net
> Subject: Re: [PHP-DEV] If you want to avoid annoying CS commits
>
>
> On Fri, 4 Apr 2003 12:11:16 -0500, Joseph Tate wrote:
>
> > How about documenting an astyle (insert stylizing app of choice
> here) line
> > in CODING_STANDARDS that people can run on their code to make
> it conform to
> > said standards.
>
> What astyle would you suggest?
>
> --
> Tom Sommer, Denmark
> www.tsn.dk - www.dreamcoder.dk
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>