On 27.03.2020 at 14:58, tyson andre wrote:

> I'd just like to add that 
> https://wiki.php.net/rfc/trailing_comma_in_parameter_list seems useful,
> especially now that PSR-12 is approved and 
> https://www.php-fig.org/psr/psr-12/#45-method-and-function-arguments 
> recommends that
> "When the argument list is split across multiple lines, the closing 
> parenthesis and opening brace MUST be placed together on their own line with 
> one space between them."
> (Previously, I don't think there was any attempt at standardizing a 
> recommendation of where the closing parenthesis should go)

The text is identical for PSR-2[1], and even PEAR CS[2] put it that way.

So, yes, I'm +1 here.

[1] <https://www.php-fig.org/psr/psr-2/#44-method-arguments>
[2] <https://pear.php.net/manual/en/standards.funcdef.php>

--
Christoph M. Becker

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to