[PEPr] Comment on RFC::Coding standard enhancements
| From: | Matthew Weier O'Phinney | Date: | Fri, 07 Mar 2008 18:37:35 +0000 |
| Subject: | [PEPr] Comment on RFC::Coding standard enhancements | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-49310@lists.php.net to get a copy of this message | ||
Matthew Weier O'Phinney (http://pear.php.net/user/weierophinney) has commented on the proposal
for RFC::Coding standard enhancements.
Comment:
I agree with all, with the same exception as Philippe Jausions -- I'd
prefer that the ending paren be on the same line as the
condition/parameter, and the opening paren by itself on the following line.
This makes it easier to visually see the start and end of a block as the
braces align.
So,
if ($var
&& $foo
|| $bar)
{
}
and:
public function callSomeRidiculouslyLongMethodName(
$param1
$param2)
{
}
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=538
--
Sent by PEPr, the automatic proposal system at http://pear.php.net