No trailing comma in single line
Closed this issue · 0 comments
dereuromark commented
fn($a, $b,)
=>
fn($a, $b)
As per slevomat/coding-standard#1326
Also refs squizlabs/PHP_CodeSniffer#3477 (side effect of not having this sniff!)
We should be able to revert
0edfae1
We can start easy by checking if any closing token comes afterwards, )
, ]
, or alike.