Remove trailing commas in list function calls.
--- Original
+++ New
<?php
-list($a, $b,) = foo();
+list($a, $b) = foo();
The rule is part of the following rule sets:
- @PhpCsFixer
- Using the @PhpCsFixer rule set will enable the
no_trailing_comma_in_list_call
rule. - @Symfony
- Using the @Symfony rule set will enable the
no_trailing_comma_in_list_call
rule.