#22 Indentation for multiline function definition is wrong

open
nobody
None
5
2009-09-20
2009-09-20
Anonymous
No

Indentation of the closing brace and parameters on a new line is wrong when using PEAR mode.

function ($alongname,
____$b
) {
____//content
}

should be aligned exactly that way [1].
php-mode indents it the following way:

function ($a, $b,
________$c
________)

[1] http://pear.php.net/manual/en/standards.funcdef.php

Discussion