phptools-docs
phptools-docs copied to clipboard
Removal of useless trailing commas
As pointed out by @still-dreaming-1 in #384 it would be useful to remove trailing comma in certain situations where it doesn't serve any purpose.
- single line statement - which ofter happens when user is joining multiline statements into single line.
- multiline statement where comma is not followed by new line