[PEPr] Comment on RFC::Coding standard enhancements
| From: | David Jean Louis | Date: | Fri, 07 Mar 2008 17:22:28 +0000 |
| Subject: | [PEPr] Comment on RFC::Coding standard enhancements | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-49307@lists.php.net to get a copy of this message | ||
David Jean Louis (http://pear.php.net/user/izi) has commented on the proposal for RFC::Coding
standard enhancements.
Comment:
I fully agree with the proposal :)
I also think that alignment of assignations should not be forced
(PHPCodeSniffer throws a WARNING atm).
I also like the possibility to call functions like this:
someFunction(
$param1,
$param2
);
When the param is an array:
someFunction(array(
'foo' => 'bar',
'spam' => 'eggs'
));
And when there's an array and other vars:
someFunction(
array(
'foo' => 'bar',
'spam' => 'eggs'
),
$param2
);
Of course, PHP_CodeSniffer will have to be updated if the proposal is
accepted.
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