Fork me on GitHub
a Sensio Labs Product

Brazilian Kangaroo (v3.17.0) edition

Rule no_trailing_comma_in_list_call

Remove trailing commas in list function calls.


This rule is deprecated and will be removed on next major version

You should use no_trailing_comma_in_singleline instead.


Example #1

--- Original
+++ New
-list($a, $b,) = foo();
+list($a, $b) = foo();
The logo is © 2010-2022 Sensio Labs