amendment to CS for indentation

From: Date: Thu, 25 Sep 2003 03:45:01 +0000
Subject: amendment to CS for indentation
Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-211@lists.php.net to get a copy of this message
can we amend the one true brace rule to the following based on code in PEAR? if there are no linebreaks, use: if (blah) { } if there are linebreaks, use: if (blah ||
    someotherstuff)
{ } This is the most commonly used solution in PEAR packages that I've seen, and it seems reasonable. I think it would also be reasonable to recommend this rather than require it. Regards, Greg

« previous php.pear.qa (#211) next »