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:[EMAIL PROTECTED] > Sent: Friday, April 04, 2003 2:05 PM > To: [EMAIL PROTECTED] > 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 > > > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php