Re: QA: Package coding standards check

From: Date: Wed, 23 Jan 2008 23:31:13 +0000
Subject: Re: QA: Package coding standards check
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-48985@lists.php.net to get a copy of this message
Is there general consensus that newlines should be permitted after the opening parenthesis of a function call, like this? $this->thisIsIsAVeryLongMethodNameThatDoesNotLeaveMuchRoomForTheParameters(
    $longVariableName, $evenLongerVariableName);
If so, I'll open a bug for this. Christian David Sanders wrote:
whoever drew up the coding standards must've forgotten to put the "no space except for newlines" clause in there somewhere. i prefer igor's method ;) Chuck Burgess wrote:
On 10/22/07, Igor Feghali <igor.feghali@gmail.com> wrote:
<?php $result = $this->dumpSequence(
    $database_definition['sequences'][$sequence],
    $sequence, $eol, $dump
); ?> gives me the errors:
error   458     Space after opening parenthesis of function call
prohibited
error   461     Space before closing parenthesis of function call
prohibited I can't keep the lines behind the 85 character limit if I am not allowed to break the functions arguments.


« previous php.pear.dev (#48985) next »