Hi,

so, we just voted the feature in (58 vs 1), but you'd like to disallow
it in PSR-12. I don't think that is a good move, as much as you hate the
feature yourself.

On 29/04/2020 11:20, tag Knife wrote:
> Since the RFC to allow this behavour in PHP 8 has been accepted, I wish
> to start talks on if we should amend PSR-12 to allow or disallow
> trailing commas in function and method names.
> 
> There is general confusion within the community why this RFC has been
> firstly proposed and mostly accepted. With others welcoming the change
> as they apparently do this error all the time.
> 
> Personally I have never had a problem with accedently trailing a comma
> in parameter lists and against this RFC, I think it promotes learned bad
> habits instead of allowing people to learn from mistakes.
> I am for disallowing trailing commas in parameter lists in either PSR-12
> or any future code style.
> 
> Discuss.
> 
> RFC: https://wiki.php.net/rfc/trailing_comma_in_parameter_list


Cheers
-- 
Matteo Beccati

Development & Consulting - http://www.beccati.com/

-- 
You received this message because you are subscribed to the Google Groups "PHP 
Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to php-fig+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/f956015c-0552-3960-77ba-6434e0c1ea89%40beccati.com.

Reply via email to